Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Sep 2006
    Location
    India Mumbai
    Posts
    248
    Thanks
    13
    Thanked 1 Time in 1 Post

    problem of visiblility , z-index

    hi all,
    i have a page in which i have 4 tabs. i have set the z-index on click of each tab. i have a td, on the 3rd tab, which i hide and unhide depending on a value entered in another textbox. the problem is, those tds which are visible due to the condition, come on the top of each tab.
    below is the code:
    if (frm.txt1.value > 10) {
    document.getElementById("td1").style.visibility="visible"
    } else {
    document.getElementById("td1").style.visibility="hidden"
    }

    so when i click on the any of the tabs, that <td> becomes visible on each tab even though its an element of the 3rd tab.

    how can i avoid this? hope the thing is clear.

    Thanks

  • #2
    New Coder
    Join Date
    Oct 2007
    Posts
    22
    Thanks
    0
    Thanked 4 Times in 4 Posts

    Unhappy

    a url might be helpful

  • #3
    Regular Coder
    Join Date
    Feb 2007
    Location
    Canada
    Posts
    924
    Thanks
    10
    Thanked 56 Times in 55 Posts
    You mean to tell me you can't fix code you can't see?

    I thought this place had the best coders around...

    :P


  •  

    Posting Permissions

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