This is due to browsers' (all of them) inability to initialize javascript coded spatial layout inside of a display: none; container.
There could also be other problems. But to get around the above limitation, in each of the DD Tab Menu's css files change (at the end):
Code:
.tabcontent{
display:none;
}
to:
Code:
.tabcontent {
position: absolute;
visibility: hidden;
}
And in the ddtabmenu.js file, find:
Code:
showsubmenu:function(tabid, targetitem){
var menuitems=this[tabid+"-menuitems"]
this.clearrevert2default(tabid)
for (i=0; i<menuitems.length; i++){
menuitems[i].className=""
if (typeof menuitems[i].hasSubContent!="undefined")
document.getElementById(menuitems[i].getAttribute("rel")).style.display="none"
}
targetitem.className="current"
if (typeof targetitem.hasSubContent!="undefined")
document.getElementById(targetitem.getAttribute("rel")).style.display="block"
},
Replace it with:
Code:
showsubmenu:function(tabid, targetitem){
var menuitems=this[tabid+"-menuitems"], i, ts, mis;
this.clearrevert2default(tabid)
for (i=0; i<menuitems.length; i++){
menuitems[i].className=""
if (typeof menuitems[i].hasSubContent!="undefined"){
mis = document.getElementById(menuitems[i].getAttribute("rel")).style;
mis.position = mis.visibility = "";
}
}
targetitem.className="current"
if (typeof targetitem.hasSubContent!="undefined"){
ts = document.getElementById(targetitem.getAttribute("rel")).style;
ts.position = "static";
ts.visibility = "visible";
}
},
As I say, the could be other problems. If after making the changes and clearing the browsers cache and refreshing the page before checking, you want more help, let me know.
Bookmarks