Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

jquery menu, dissapears when hovering over

Status
Not open for further replies.

youradds

Programmer
Jun 27, 2001
817
GB
Hi guys,

I'm at a bit of a loss as to what I can do here :/


Just above "Welcome to CancunAndRivieraMaya" , you will see a black menu.

This is from this site:


For some reason, when you hover over "Javascript > JQuery" , it works - but when you try and goto the 2nd menu option on that sub-menu, it just dissapears :/

The code is a direct copy from his tutorial, so I can work out what on earth is going on :/

I've even tried using jQuery() incase it was an issue with a "clash" of some other JQuery stuff I'm doing already on that page.

Any suggestions?

TIA!
 
Hi

That is because the menu is below the content.
Code:
[purple]#nav[/purple][teal],[/teal] [purple]#nav[/purple] ul[teal]{[/teal]
[blue]margin:[/blue][green]0[/green];
[blue]padding:[/blue][green]0[/green];
[blue]list-style-type:[/blue][green]none[/green];
[blue]list-style-position:[/blue][green]outside[/green];
[blue]position:[/blue][green]relative[/green];
[blue]line-height:[/blue][green]1.5em[/green]; 
[highlight][blue]z-index:[/blue] [green]1000[/green];[/highlight]
[teal]}[/teal]

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top