- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › [Solved] not sure if this is a Jquery or css problem
I’m working on a site for a friend, and i used jquery for a dropdown menu, which works fine.
Until I created a jquery image rotater in a div under it.
now the menu drops behind the images.
I didn’t want to post pages of code here, but if something will help I can.
the url is http://ronguilmet.com/sandbox/
The problem is probably a CSS problem, the fix is created by using the z-index property:
Add "z-index:100" to "ul.topnav li ul.subnav" (on line 135 of your CSS file)
That tells your sub menu to be above your other HTML elements (since they have a lower z-index (0)).
AshtonSanders
thank you so much for your post.
I added that to my css, and it’s fixed.
thanks again. Ron