paul6253
05-05-2005, 12:53 AM
I want to create background color changes using onMousover events but
the following code :
<UL Onmouseover = "this.style.setAttribute('background','#99AAAF')"
Onmouseout = "this.style.setAttribute('background','transparent')"
...
</UL>
will be blocked by IE unless the user authorizes the scripts?!
This will alarm (and turn away!) most users from further viewing.
The only way around this that I can think of is
using :link,:hover,etc pseudoclasses but
these only work for links,no?
Any fixes?
Thanks
the following code :
<UL Onmouseover = "this.style.setAttribute('background','#99AAAF')"
Onmouseout = "this.style.setAttribute('background','transparent')"
...
</UL>
will be blocked by IE unless the user authorizes the scripts?!
This will alarm (and turn away!) most users from further viewing.
The only way around this that I can think of is
using :link,:hover,etc pseudoclasses but
these only work for links,no?
Any fixes?
Thanks