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