hwg-style archives | May 2002 | new search | results | previous | next |
Re: RePost: Display Property Problem with Netscapeby Andrew McFarland <aamcf(at)aamcf.co.uk> |
|
At 15:38 30/04/02 -0400, Andy & Victoria wrote: <snip/> >I'm trying to fiqure out how to script Netscape 6.2 to implement CSS2 >Display Property dynamically. <snip/> ><span id="oSpan">This is a SPAN </span>in a sentence. ><form> > <input type="button" value="change" onclick="oSpan.style.display='none'"> ></form> Try onclick="document.getElementById('oSpan').style.display='none'" document.getElementById() is very useful and is well worth getting acquainted with :) Andrew
HWG hwg-style mailing list archives, maintained by Webmasters @ IWA