Show text with the jQuery slideToggle function
I work on a website and the client wants jQuery on the menu. When a user clicks on "webdesign" link menu a shadow goes down with some text on it(you can try it).
Right now when I click on that webdesign menu link, the other one "ipone apps" goes down too, but the owner doesn't like this. He likes that shadow, but he doesn't want to see that other menu link to be moved when he clicks on other menu link.
This is the jQuery that I used:
//when the DOM is ready
//store in a variable the second paragraph
var $set1 = $('.menu-item');
//use hide() method to hide it
//when you click on more link
//show the second paragraph
//using slideToogle() method
//slow=6sec normal=4sec fast=2sec
//keep the link from activating
//its default action
Can someone give a hand with this?