How can I create a menu like NFL.com using jQuery?

How can I create a dropdown menu like NFL.com using jQuery? I really like how he hides, but at the same time everything convinces in the regular menu.

+2


source to share


2 answers


NFL.com uses Script.aculo.us which was written by Thomas Fuchs

Check out the Script.aculo.us site for lots of examples and demo code



The Effect.SlideDown and Effect.SlideUp should give you what you need for this type of menu.

+2


source


Something similar can be achieved with jQuery using the Slide Effect . Basically, each of these submenus will be contained within their own div, each positioned so that when fully visible, you get the submenu below the main nav. Then just start with all hidden subnav divs and apply a slide effect to show / hide them during mouseover / mouseout events.



+2


source







All Articles