Ultimate Web Site Drop Down Menu Forum

Ultimate Web Site Drop Down Menu Forum (http://www.udm4.com/forum/index.php)
-   Tips, Tricks and FAQs (http://www.udm4.com/forum/forumdisplay.php?f=6)
-   -   Different hover state for first-level list items with children (http://www.udm4.com/forum/showthread.php?t=861)

01-16-2008 04:02 AM

Different hover state for first-level list items with children
 
Hi,

1. I'm wanting to configure the menu so that first level list-items with children have a different hover state (a rollover tab) than those which don't have children (links are just underlined).

2. Also, the very first level of dropdown navigation needs to be styled differently from the rest of the flyouts. I've tried putting a class on the first-level nav, but this is inherited throughout the rest of the flyouts, which I don't want.

Quote:

<ul id="udm" class="udm">
<li>Nav Item 1</li>
<li>Nav Item 2 // different hover state for this link
<ul>
<li>Subnav Item 1</li> // 'special' style for first level flyout
<li>Subnav Item 2
<ul>
<li>Third level nav</li> // this and all other flyouts to use
<ul> styles defined in UDM4
</li>
<li>Subnav Item 3</li>
<ul>
</li>
<li>Nav Item 3</li>
<li>Nav Item 4</li>
</ul>
Any ideas on how I can achieve this would be much appreciated :)


All times are GMT. The time now is 05:54 PM.

Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.