Jump to content
mboehler3

Dropdown menu with js won't work

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.

Share this post


Link to post
Share on other sites

The page in question is a Wordpress page... if this isn't the best place to make this post, is there any other forums that are specific to Wordpress, besides the one at wordpress.org?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...