Jump to content

Dropdown menu with js won't work


mboehler3

Recommended Posts

Hi, I have a blog set up here: http://wuzhannanan.com/blog/. I am trying to create a dropdown menu, where if you rollover "Payroll" and "About Us," a menu appears. I am trying to replicate the navbar on this page: WebsiteI have the javascript file in the header file, but for some reason the dropdown effect will not work. Is there something I am missing or doing wrong? Thanks in advance for the help.

Link to comment
Share on other sites

I don't understand why javascript is even needed for that menu, you can do it with hover pseudo-classes. This also has nothing to do with server scripting.What makes this menu work is turning the visibility of the hidden divs on when you're hovering over a top-level menu item. You can, as I said, do it all with CSS. Check out Stu Nicholl's site.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...