View Full Version : Resolved problem with jQuery Multi Level CSS Menu #2
himalay137
03-21-2009, 05:25 PM
hi,
My DD script link: jQuery Multi Level CSS Menu #2 (http://www.dynamicdrive.com/style/csslibrary/item/jquery_multi_level_css_menu_2/P130/)
drop down menu appears behind the google ads. how to move it front? pls help me.
visit my site. http://smartphonemania.blogspot.com/
thnx
Snookerman
03-22-2009, 04:45 PM
Add this to your CSS code:
#header {
border:1px solid #446688;
color:#EEEEEE;
margin:5px;
text-align:center;
position: relative;
z-index: 1000;
}
Good luck!
himalay137
03-23-2009, 04:56 AM
Thnx Snookerman.
But where to add....I don't understand...
here is the CSS code...
CSS link :
http://www.dynamicdrive.com/cssexamples/media/jqueryslidemenu.css
.jqueryslidemenu{
font: bold 12px Verdana;
background: #414141;
width: 100%;
}
.jqueryslidemenu ul{
margin: 0;
padding: 0;
list-style-type: none;
}
/*Top level list items*/
.jqueryslidemenu ul li{
position: relative;
display: inline;
float: left;
}
/*Top level menu link items style*/
.jqueryslidemenu ul li a{
display: block;
background: #414141; /*background of tabs (default state)*/
color: white;
padding: 8px 10px;
border-right: 1px solid #778;
color: #2d2b2b;
text-decoration: none;
}
* html .jqueryslidemenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
display: inline-block;
}
.jqueryslidemenu ul li a:link, .jqueryslidemenu ul li a:visited{
color: white;
}
.jqueryslidemenu ul li a:hover{
background: black; /*tab link background during hover state*/
color: white;
}
/*1st sub level menu*/
.jqueryslidemenu ul li ul{
position: absolute;
left: 0;
display: block;
visibility: hidden;
}
/*Sub level menu list items (undo style from Top level List Items)*/
.jqueryslidemenu ul li ul li{
display: list-item;
float: none;
}
/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.jqueryslidemenu ul li ul li ul{
top: 0;
}
/* Sub level menu links style */
.jqueryslidemenu ul li ul li a{
font: normal 13px Verdana;
width: 160px; /*width of sub menus*/
padding: 5px;
margin: 0;
border-top-width: 0;
border-bottom: 1px solid gray;
}
.jqueryslidemenuz ul li ul li a:hover{ /*sub menus hover style*/
background: #eff9ff;
color: black;
}
/* ######### CSS classes applied to down and right arrow images ######### */
.downarrowclass{
position: absolute;
top: 12px;
right: 7px;
}
.rightarrowclass{
position: absolute;
top: 6px;
right: 5px;
}
Snookerman
03-23-2009, 06:31 AM
I guess Blogspot controls the main CSS code, just add this to end of the code you posted:
#header {
position: relative;
z-index: 1000;
}
Good luck!
himalay137
03-23-2009, 09:58 AM
hi snookerman,
yes, i got it.....
/*Top level list items*/
.jqueryslidemenu ul li{
position: relative;
z-index: 1000;
display: inline;
float: left;
}
thnx a lot.....
Snookerman
03-23-2009, 02:08 PM
You're welcome, glad to help!
You can go to your first post in this thread, click http://www.dynamicdrive.com/forums/images/buttons/edit.gif then click Go Advanced and add the Resolved prefix to the thread title.
This will let other users know the problem has been solved.
Good luck with your site!
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.