There is a script conflict with numenu.js. Both it and the scroller rely upon the variable i to count things out. Both are using the variable in the global sense. The scroller needs to do this but the numenu.js script does not. So, its text can be changed to:
Code:
activateMenu = function(nav) {
/* currentStyle restricts the Javascript to IE only */
if (document.all && document.getElementById('nav').currentStyle) {
var navroot = document.getElementById('nav');
/* Get all the list items within the menu */
var lis=navroot.getElementsByTagName("LI");
for (var i=0; i<lis.length; i++) {
/* If the LI has another menu level */
if(lis[i].lastChild.tagName=="UL"){
/* assign the function to the LI */
lis[i].onmouseover=function() {
/* display the inner menu */
this.lastChild.style.display="block";
}
lis[i].onmouseout=function() {
this.lastChild.style.display="none";
}
}
}
}
}
window.onload= function(){
/* pass the function the id of the top level UL */
/* remove one, when only using one menu */
activateMenu('nav');
activateMenu('vertnav');
}
That will fix things in IE for xynjav. You other folks may want to change each instance of 'i' used as a variable in the scroller script to another variable unlikely to be used by any other script, like 'xdt'. An easy way to do this is to get the script in a text editor all by itself. Do a global search and replace on the letter i. Replace with xdt. Set your replace text dialogue to case sensitive, whole words only first though.
Note: To xynjav, when you say that it looks good in all other browsers, you can't mean Opera.
Bookmarks