[thelist] suckerfish menu doesn't work on all pages in IE
Micky Hulse
micky at ambiguism.com
Mon Jul 31 21:56:30 CDT 2006
Bruce Gilbert wrote:
> startList = function() {
> if (document.all&&document.getElementById) {
> navRoot = document.getElementById("nav");
> for (i=0; i<navRoot.childNodes.length; i++) {
> node = navRoot.childNodes[i];
> if (node.nodeName=="LI") {
> node.onmouseover=function() {
> this.className+=" over";
> }
> node.onmouseout=function() {
> this.className=this.className.replace»
> (" over", "");
> }
> }
> }
> }
> }
> window.onload=startList;
No, but I do notice that the » should be removed.
Also be sure to name your div id "nav".
Hths,
Micky
More information about the thelist
mailing list