View Full Version : DD-Tab menu - hidden links

10-27-2005, 02:41 PM
I am using the DD-Tab menu and currently my links are displaying behind my pages main section, usually i thought you just added a z-index but i did that and nada. what can i do to get it to display on top? my test page is located at www.wacocitizen.com/restricted/advertise.htm

Im also getting an error on my page, its saying "object required" and its the line marked in bold...

////////Stop editting////////////////

var previoustab=""

if (turntosingle==1)
document.write('<style type="text/css">\n#tabcontentcontainer{display: none;}\n</style>')

function expandcontent(cid, aobject){
if (disabletablinks==1)
aobject.onclick=new Function("return false")
if (document.getElementById){
if (turntosingle==0){
if (previoustab!="")
document.getElementById(cid).style.display="block" <--------This one

What needs to be changed to stop getting an error? thanks

10-27-2005, 04:45 PM
Your error is due to there not being any element with the id 'sc5' on the page. If you change the two mentions of sc5 on the page to sc1, the error disappears but the first two tabs will then show the same content (if you fix the other problem mentioned below), add another content division for the 'Home' tab. The tabcontent is not showing because your linked stylesheet:


leaves no room for them. Redesign the page without using absolute positioning. Just to see the tabcontent, remove the linked stylesheet's link statement:

<link rel="stylesheet" href="emx_nav_left.css" type="text/css">

10-27-2005, 07:17 PM
Hey thanks alot for the help, guess back to coding...