Topic: DOM Roll Over? (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 11-27-2002 16:36
I happened upon this little piece of code here and was wondering if this was the new way that mouse overs should be handled? I have the script posted below and have it working on a page: code: <script type="text/javascript"> |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-28-2002 07:10
I like the idea, but using a non-valid XHTML attribute doesn't seem like a good idea. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 11-28-2002 07:16 |
Obsessive-Compulsive (I) Inmate From: england |
posted 11-29-2002 17:01
hi, |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 11-30-2002 04:10
If our markup isn't valid, we can't ensure that our pages will work in the future. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 11-30-2002 05:31
I'm still not sold on them needing to vaildate any time in the near future. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 12-01-2002 06:01
I am pretty much with slime on A and B, I also have a C) policies in place that require standards compliance. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 12-03-2002 19:40
One of my co-workers proposed using our own DTD and saving it to our web server with image modified as such: code: <!ELEMENT img EMPTY>
|
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 12-03-2002 19:50
That's definitely better than just using an inexistant attribute. It's not a bad solution. |
Obsessive-Compulsive (I) Inmate From: england |
posted 12-06-2002 17:24
hello again, |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 12-06-2002 17:37
Hmm... despite the valid markup, I'm not happy about how it uses the class attribute for something it's not intended for... |
Obsessive-Compulsive (I) Inmate From: england |
posted 12-07-2002 23:42
well, neither am i totally.. but its a better option than the script forcing you to use invalid markup imo; and will have to suffice until the object tag is more widely-supported (the img tag is being drained out with xhtml2..) |