On Mon, 2006-07-17 at 20:50 -0400, Portman wrote:
> I suddenly found that my mouseover is not working on certain menu
> buttons. I have no idea why. Would someone mind taking a look and see if
> you can tell me what the problem is?
> http://www.starqualitydesigns.com/BestHealth/
Did you change it from a list? I get a javascript error for this line:
var navItems =
document.getElementById("primary-nav").getElementsByTagName("li");
there are no li tags, also no element called primary-nav, so it throws
an error - this line is for IE but the error causes my FF browser to
abort the whole script and any javascript after it, and then your
roll-overs don't work. It may work for some, as the second roll-over
script you have looks like it would work - you are better off learning
how to "roll your own" rather than using MM's version without knowing
why it probably works or the other one doesn't.
Here's a link to a simpler roll-over than the MM version:
http://lists.evolt.org/archive/Week-of-Mon-19990920/090143.html
And how roll-overs work:
http://www.webreference.com/js/column1/
cheers,
Mark
www.mgwebservices.ca
____ The WDVL Discussion List from WDVL.COM ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
Send Your Posts To: [email protected]
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk
________________ http://www.wdvl.com _______________________
You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.