CRASH_OVERRIDE
08-31-2002, 12:59 AM
Does Mozilla allow you to change styles after the page has loaded? Im using the following to see if the browser is not IE, if not then it makes it invisible:
<img src="arrow.gif" id="CSSdArr" onload="if(!navigator.appName='Microsoft Internet Explorer')this.style.display='none'" />
This doesn't work in Mozilla, but removing the ! and testing it in IE it worked fine. Ive also tried this.style.visibility='hidden', and it also didnt work.
<img src="arrow.gif" id="CSSdArr" onload="if(!navigator.appName='Microsoft Internet Explorer')this.style.display='none'" />
This doesn't work in Mozilla, but removing the ! and testing it in IE it worked fine. Ive also tried this.style.visibility='hidden', and it also didnt work.