hello,
I have a problem with joomla mega menu, it works great with firefox, opera, safari and chrome but when we come to Internet explorer 8 it some times dropdown and sometimes not.
I am so out of solutions and tried all the Internet compatibility modes, but none works with it
Urgent please, thanks
Mega menu css code;
.ja-megamenu { margin: 0; padding: 0; }
.ja-megamenu a.over, .ja-megamenu a.active { color: #ffffff !important; }
/* lv - 0
-----------------------------------*/
/* Styling ---*/
ul.level0 {
float: left;
margin: 0;
padding: 0;
}
ul.level0 li.mega {
background: none;
display: block;
float: left;
margin: 0 0 0 10px;
padding: 0;
}
ul.level0 li.first {
margin: 0;
}
ul.level0 li.mega a.mega {
background: url(../../images/nav-bg.gif) no-repeat left top;
color: #999;
display: block;
font-weight: bold;
line-height: normal;
margin: 0;
padding: 0 0 0 10px;
text-decoration: none;
}
ul.level0 li.mega a.mega span {
background: url(../../images/nav-bg.gif) no-repeat right top;
display: block;
line-height: 28px;
padding: 0 10px 0 0;
}
ul.level0 li.over a.mega,
ul.level0 li.over a.mega,
ul.level0 li.over a.mega {
background: url(../../images/nav-active-bg.gif) no-repeat left top;
color: #fff;
}
ul.level0 li.over a.mega span,
ul.level0 li.over a.mega span,
ul.level0 li.over a.mega span {
background: url(../../images/nav-active-bg.gif) no-repeat right top;
}
ul.level0 li.haschild-over a.mega {
background: url(../../images/nav-active-bg.gif) no-repeat left top;
color: #fff;
}
ul.level0 li.haschild-over a.mega span {
background: url(../../images/nav-active-bg.gif) no-repeat right top;
}
ul.level0 li.haschild a.mega span {
background: url(../../images/nav-bg.gif) no-repeat right top;
}
ul.level0 li.active a.mega {
background: url(../../images/nav-active-bg.gif) no-repeat left top;
color: #fff;
}
ul.level0 li.active a.mega span {
background: url(../../images/nav-active-bg.gif) no-repeat right top;
}
/* lv - 1 and below
-----------------------------------*/
/* Layout ---*/
.ja-megamenu li.mega .childcontent { display: block; height: auto; position: absolute; }
.ja-megamenu li.mega .childcontent,
.ja-megamenu li.haschild-over li.mega .childcontent,
.ja-megamenu li.mega li.haschild-over li.mega .childcontent ,
.ja-megamenu li.mega li.mega li.haschild-over li.mega .childcontent,
.ja-megamenu li.mega li.mega li.mega li.haschild-over li.mega .childcontent,
.ja-megamenu li.mega li.mega li.mega li.mega li.haschild-over li.mega .childcontent { left: -999em; /*hide the menu*/ }
.ja-megamenu li.haschild-over .childcontent,
.ja-megamenu li.mega li.haschild-over .childcontent,
.ja-megamenu li.mega li.mega li.haschild-over .childcontent,
.ja-megamenu li.mega li.mega li.mega li.haschild-over .childcontent,
.ja-megamenu li.mega li.mega li.mega li.mega li.haschild-over .childcontent,
.ja-megamenu li.mega li.mega li.mega li.mega li.mega li.haschild-over .childcontent { left: auto; /*show on parent:hover*/ }
ul.level1 li.mega { float: none; width: 180px; }
ul.level1 .childcontent { margin: -2em 0 0 160px; }
/* Columns ---*/
.megacol { float: left; }
.cols1 .megacol { width: 100%; }
.cols2 .megacol { width: 50%; }
.cols3 .megacol { width: 33.3%; }
.cols4 .megacol { width: 25%; }
.cols5 .megacol { width: 20%; }
.cols6 .megacol { width: 16.6%; }
.cols7 .megacol { width: 14.2%; }
.cols8 .megacol { width: 12.5%; }
.cols9 .megacol { width: 11.1%; }
.cols10 .megacol { width: 10%; }
.ja-megamenu .cols1 { width: 200px; }
.ja-megamenu .cols2 { width: 400px; }
.ja-megamenu .cols3 { width: 600px; }
.ja-megamenu .cols4 { width: 800px; }
.ja-megamenu .cols5 { width: 1000px; }
.ja-megamenu .cols6 { width: 1200px; }
.ja-megamenu .cols7 { width: 1400px; }
.ja-megamenu .cols8 { width: 1800px; }
.ja-megamenu .cols9 { width: 2000px; }
.ja-megamenu .cols10 { width: 2200px; }
/* Styling ---*/
ul.level1 li.mega {
border-bottom: 1px solid #353535;
margin: 0;
padding: 0;
}
ul.level1 li.first { border-top: 0; }
ul.level1 li.mega a.mega {
background: none;
border: 0;
color: #999;
font-weight: normal;
padding: 0;
}
ul.level1 li.mega a.mega span { background: none; padding: 0; }
ul.level1 li.haschild {
background: url(../../images/arrow.gif) no-repeat 95% center;
padding: 0;
}
ul.level1 li.over a.mega, ul.level1 li.haschild-over a.mega { color: #fff !important; }
ul.level1 li.active a.mega { color: #fff !important; font-weight: bold; }
ul.level1 li.module { background: none; }
ul.level2 li.mega a.mega { color: #999 !important; }
ul.level2 li.mega a.over { color: #fff !important; }
/* CHILD CONTENT
-----------------------------------*/
.childcontent {
background: url(../../images/arrow-up.gif) no-repeat 10px 1px;
color: #999;
padding-top: 6px;
z-index: 999;
elevation:above;
}
.childcontent-inner {
background: #2f2f2f;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
}
.childcontent ul.megamenu { margin: 10px; }
.childcontent .ja-moduletable {
background: #2f2f2f;
color: #ccc;
border-bottom: 0;
line-height: 1.5;
margin: 10px 0;
padding: 0;
width: 180px;
}
.childcontent .ja-moduletable h3 {
background: none;
color: #fff;
border-bottom: 1px solid #444;
margin-left: 10px;
margin-right: 10px;
}
.childcontent .ja-moduletable .ja-box-ct {
padding: 0 10px;
}
.childcontent .ja-moduletable a {
color: #ccc;
text-decoration: none;
border-bottom: 1px dotted #ccc;
}
.childcontent .ja-moduletable a:hover,
.childcontent .ja-moduletable a:focus,
.childcontent .ja-moduletable a:active {
display:visible;
color: #fff;
text-decoration: none;
border-bottom: 1px solid #fff;
}
.childcontent .ja-moduletable ul:first-child {
margin-top: 0 !important;
}
.childcontent .ja-moduletable li {
background: url(../../images/bullet2.gif) no-repeat 2px 7px !important;
margin-bottom: 5px;
}
/* reset */
.childcontent ul.megamenu .ja-moduletable,
.childcontent ul.megamenu .ja-moduletable .ja-box-ct {
margin: 0;
padding: 0;
}
.childcontent ul.megamenu .ja-moduletable h3 {
margin-left: 0;
margin-right: 0;
}