...

View Full Version : show and tell



ecnarongi
09-26-2002, 04:15 PM
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="visible"
}

all help is appreciated

ecnarongi
09-26-2002, 08:33 PM
figured it out :thumbsup: thanks anyway.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum