^BuGs^
03-26-2004, 05:39 PM
and it is a Javascript error which I can not hangle. :-/
the link to the site is http://www.starfleets.net/
the arror is in menu.js and it's on line 90- 91.
// function to get the menu basename - 'menu.104' returns 'menu', 'x.menu' returns 'x'
function getmenuid(controlid)
{
dotpos = controlid.indexOf("."); <--- line 90
if (dotpos != -1) <--- line 91
{
return controlid.substr(0, dotpos);
}
else
{
return controlid;
}
}
is the code. Any help to why this isn't working all of a sudden would be great.
the link to the site is http://www.starfleets.net/
the arror is in menu.js and it's on line 90- 91.
// function to get the menu basename - 'menu.104' returns 'menu', 'x.menu' returns 'x'
function getmenuid(controlid)
{
dotpos = controlid.indexOf("."); <--- line 90
if (dotpos != -1) <--- line 91
{
return controlid.substr(0, dotpos);
}
else
{
return controlid;
}
}
is the code. Any help to why this isn't working all of a sudden would be great.