Milonic provide full featured pull down web menus for some of the worlds largest companies
click here to see what it can do for you

Download Milonic DHTML Menu
Buy Milonic DHTML Menu

Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:10

Unordered List Based


Poster: kdc415
Dated: Tuesday May 26 2009 - 20:38:44 BST

I'm using unordered lists to create a horizontal menu using the buildListMenu function. Is there not a way to style the submenus differently than the main menu items?

Otherwise the menus look ridiculous when I begin to style the menu separator the way I want or if I use a separator image. For instance setting the separatorheight to 6 shortens the height of the bar on the main menu the way we like, but then on the submenus they're now increased to 6 tall! Having 1 property effect the vertical separator bar on the main menu items and the horizontal bars on the submenu items doesn't make sense to me, but this is my first time setting up a menu.

Any help appreciated.

Re: Unordered List Based


Poster: Ruth
Dated: Friday May 29 2009 - 21:41:22 BST

Hi,

If you look at the source on the listbased menu sample in the download you'll see that you can create other styles. So, say you have menuStyle and then you create a second style called menuStyle2. Then in the actual listbased menu you'd code
Code:
<ul class=menuStyle2>


When you open that example in the extras/listbased folder of the download and mouse over the last item in the top horizontal menu you'll see the difference.

Ruth