arunpatal Posted June 28, 2014 Share Posted June 28, 2014 Hi, Have a look this menu http://jsfiddle.net/GBkMB/6/ I want the same mune but with click function (its using hover function now) Please help me with this Quote Link to comment https://forums.phpfreaks.com/topic/289312-jquery-menu/ Share on other sites More sharing options...
fastsol Posted June 28, 2014 Share Posted June 28, 2014 Ok, so what's so hard about that? Just change the on("hover" to on("click" And if you don't want the menu to close on mouseleave then remove the code block above the on("click" block, then it will only close the menu when you click it again. Quote Link to comment https://forums.phpfreaks.com/topic/289312-jquery-menu/#findComment-1483312 Share on other sites More sharing options...
Strider64 Posted June 30, 2014 Share Posted June 30, 2014 (edited) Here's something I did for a college course - http://jsfiddle.net/Strider64/3G7nP/ It's just a simple accordion and all I did was convert it over to information fruits, veggies, and dairy for my script had images and my own lightbox attached to it. I have been making my own library of scripts that way I don't have to re-invent the wheel every new project. Anyways, I hope it will help you out a little. It might have a few quirks in it, for like I said I converted it over from an old college project. Edited June 30, 2014 by Strider64 Quote Link to comment https://forums.phpfreaks.com/topic/289312-jquery-menu/#findComment-1483439 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.