In article <8c************ **************@ posting.google. com>,
sp***********@y ahoo.com enlightened us with...
I need to set my div tag
(<div id="divBioBotto m"> content </div>)
to either visible or hidden from javascript. Does anyone know how to do this?
Thanks.
7078895
/ra
(not tested - watch for typos)
IE4+ and NN6+ should be fine with this. Dunno about other browsers, but
Opera had a problem with styles the last I checked (which was a couple
versions ago, so might be fixed).
Add a layers statement for NN4.
<div id="divBioBotto m" name="divBioBot tom">
if (document.getEl ementById)
{
if (document.getEl ementById("divB ioBottom").styl e)
document.getEle mentById("divBi oBottom").style .visibility="hi dden";
}
else if (document.all && !document.getEl ementById)
document.divBio Bottom.visibili ty="hidden";
--
--
~kaeli~
Press any key to continue or any other key to quit
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace