ron
ron

Reputation: 450

jquery fade images and menu drop down

I have a small problem when im working with a menu and a list of images that change with jquery, my problem is that when I'm on the menu the submenu that is lost in the list of images.

Upvotes: 2

Views: 376

Answers (2)

Pavunkumar
Pavunkumar

Reputation: 5345

Change the image properties .

You need to add the css file.

position:fixed; or position:absolute ;

It may solve this problem.

Upvotes: 1

Sampson
Sampson

Reputation: 268424

You need to give a higher z-index to your dropdown menu.

ul#nav { position:relative; z-index:100 }

This sets it up higher in the stack than the images that are fading in/out. As it is now, the moment you mouse-into an area containing an image, the focus is lost and the dropdown is closed (because you're moving onto an image, and off of the dropdown).

Upvotes: 2

Related Questions