Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
Quote:
|
Firefox and Opera also have some limited ability to apply javascript via CSS. The usage of this is very very narrow. Don't do it for general purpose scripts.
|
Yeah, I knew it, but their support is so weak that I avoid it as much as I can.
I believe the only time I did this, was to implement a "position:fixed" in ie6, on an existing site that was so messed up that I could not trigger the browser in the right mode.
I had a bit of javascript in the css that was computing the "top" value on each events.
Brrrr, it gaves me shivers, just to think about it.
Talk about something messy...
__________________
Only a biker knows why a dog sticks his head out the window.
|