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 2 of 2

Thread: show and tell

  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Northern NJ
    Posts
    404
    Thanks
    0
    Thanked 1 Time in 1 Post

    show and tell

    if I had an image like this:
    <img name="pro" src="logo.gif" style="visibility: hidden">

    how would I change this script to show the above image
    function showmenu(whichOne)
    {
    if(document.layers)document.layers[whichOne].visibility="show"
    if(document.all)document.all[whichOne].style.visibility="visible"
    if(document.getElementById&&!document.all)document.getElementById(whichOne).style.visibility="visibl e"
    }

    all help is appreciated
    I would rather be a lion for a day than a lamb that lives forever.

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    Northern NJ
    Posts
    404
    Thanks
    0
    Thanked 1 Time in 1 Post
    figured it out thanks anyway.
    I would rather be a lion for a day than a lamb that lives forever.


  •  

    Posting Permissions

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