Click here to Skip to main content
15,905,071 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I'm using the same menu like in following link but i need submenus with same functions like in parent menu. I tried this but didn't get it, i need more submenu under one parent menu with having all functions like in parent menu.

http://www.jqueryload.com/jquery-dropdown-menu-with-google-style[^]

thanks in advance...
Posted

Based on the article content, it says: the idea is create an horizontal menu, so we added some float to keep the options in one line.

So, the menu feel is from CSS applied to ul-li items and positions are defined using stylesheet. You need to modify it as per your need. Please try out. In case you are unable to, post specific question with the place you are stuck up with.
 
Share this answer
 
Comments
maddyganesh 20-Oct-12 1:40am    
i fixed the position for second level menu in css but i don't know how to use click events functions for the submenu like in parent menu
Sandeep Mewara 20-Oct-12 2:02am    
Click is by using a-href links.

Just wrap the text in a a-href link as done in samples.
maddyganesh 20-Oct-12 2:09am    
am not getting it can u give me the samples please..
Sandeep Mewara 20-Oct-12 3:09am    
Link shared by you have the sample! :doh:

see there, the top menu which gets clicked has text as a a-href.
maddyganesh 20-Oct-12 4:54am    
yeah exactly u got it...
in that top menu they used ('ul li > a') as clicked ...but i tried the same to put sub menu navigation but it doesn't work ..then i don't know how to write ..
Hi,
Check this link. it may helps you.

http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm[^]
 
Share this answer
 
Comments
maddyganesh 20-Oct-12 1:43am    
it's in hover effects and i need it in onclick also for submenu
Sanjeev Alamuri 20-Oct-12 2:19am    
Down load the code from that link and modify accordingly your requirement. if get look into the code there is an option called "onmouseover or hover". replace these options with "onmouseclick or click". then it will works you.
maddyganesh 20-Oct-12 4:49am    
i think u didn't seen that jquery code i already given the exact link..
in that jquery the click event is ther but i want that in my submenu ..that's it..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900