Results 1 to 3 of 3

Thread: DD-Tab menu - hidden links

  1. #1
    Join Date
    Oct 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default DD-Tab menu - hidden links

    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){
    highlighttab(aobject)
    if (turntosingle==0){
    if (previoustab!="")
    document.getElementById(previoustab).style.display="none"
    document.getElementById(cid).style.display="block" <--------This one
    previoustab=cid

    What needs to be changed to stop getting an error? thanks
    Last edited by mr8; 10-27-2005 at 02:49 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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:

    emx_nav_left.css

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

    Code:
    <link rel="stylesheet" href="emx_nav_left.css" type="text/css">
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Oct 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thanks!

    Hey thanks alot for the help, guess back to coding...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •