Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-26-2002, 04:15 PM   PM User | #1
ecnarongi
Regular Coder

 
Join Date: Jun 2002
Location: Northern NJ
Posts: 401
Thanks: 0
Thanked 1 Time in 1 Post
ecnarongi is an unknown quantity at this point
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
__________________
true lies
ecnarongi is offline   Reply With Quote
Old 09-26-2002, 08:33 PM   PM User | #2
ecnarongi
Regular Coder

 
Join Date: Jun 2002
Location: Northern NJ
Posts: 401
Thanks: 0
Thanked 1 Time in 1 Post
ecnarongi is an unknown quantity at this point
figured it out thanks anyway.
__________________
true lies
ecnarongi is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:17 PM.


Advertisement
Log in to turn off these ads.