November Happy Hour will be moved to Thursday December 5th.

Menu on the AlloyTech template

Vote:
 

Hi,

I've been playing around with the AlloyTech template. You'll notice that the main menu has no drop down submenu.

What would I need to do so that a sub menu would appear below when you hover on each main menu?

Thanks.

 

Cheers,

Jan

#50247
Apr 20, 2011 2:54
Vote:
 

First of all the menu items must be there, so you'll have to change how the main menu is rendered on the server side. Maybe you can do it with a PageTree control instead of the PageList which it probably uses OOTB.

Then you have to do the dropdown stuff on the client side. You should be able to do this with CSS only, but there are also many javascript solutions. Google for css drop down menu or something and you'll get thousands of hits. Each strategy will require you to output the HTML in a format which matches that solution, which of course determines how you need to wire things up on the server side to render the menu html.

#50255
Apr 20, 2011 12:08
Vote:
 

Removed: Accidental double-post.

#50256
Edited, Apr 20, 2011 12:08
Vote:
 

Thanks Magnus!

 

#50365
Apr 29, 2011 2:19
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.