popout menu |
popout menu |
minidiapolis |
Apr 14 2008, 08:34 PM
Post
#1
|
Serious Coder Group: Members Posts: 437 Joined: 3-September 06 Member No.: 57 |
I'm creating a popout menu for the very first time. Using this line as an example
sitems[0]=["<big><font face='Arial'>Site Menu</font></big>", ""] is the first step to replace sitems with one of my menu options? |
minidiapolis |
Apr 18 2008, 03:37 PM
Post
#2
|
Serious Coder Group: Members Posts: 437 Joined: 3-September 06 Member No.: 57 |
So, sfHover = function() { var sfEls = document.getElementById("nav").getElementsByTagName("LI"); for (var i=0; i<sfEls.length; i++) { sfEls[i].onmouseover=function() { this.className+=" sfhover"; } sfEls[i].onmouseout=function() { this.className=this.className.replace(new RegExp(" sfhover\\b"), ""); } } } if (window.attachEvent) window.attachEvent("onload", sfHover);
is all that goes in the file? What file extension? does it need? |
Lo-Fi Version | Time is now: 25th September 2024 - 02:55 PM |