Forum Moderators: open

Message Too Old, No Replies

onmouseover and others

what if no JavaScript?

         

Emperor

6:56 am on Dec 4, 2004 (gmt 0)

10+ Year Member



Hi guys,

I like adding onmouseover="..." and onmouseout="..." to some of my links and buttons (to change the status bar display). If someone doesn't have JavaScript or has it disabled will it just ignore those attributes? I hope I don't have to be anal and put them in a <script> tag.

It seems fine on IE6 and Firefox (when I disable JavaScrupt).

Thanks.

MichaelBluejay

9:29 am on Dec 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Yep, if JavaScript is disabled the browser simply ignores any JavaScript code you have on the page -- even events like onmouseover, even if they're not inside <SCRIPT> tags.