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, 02:25 PM
Post
#2
|
Serious Coder Group: Members Posts: 437 Joined: 3-September 06 Member No.: 57 |
I *might* be getting it. . . sorry about all the frustration. . .
On http://www.htmldog.com/articles/suckerfish/dropdowns/ the following code would go in the external stylesheet, right? 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); |
Lo-Fi Version | Time is now: 26th September 2024 - 01:27 AM |