Forum Moderators: not2easy

Message Too Old, No Replies

CSS behaviour

How does it work?

         

Dabrowski

11:37 pm on Apr 24, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I understand that CSS behaviour files are basically JS attached to CSS elements in the normal selector way.

2 questions:
1) Do they work with JS disabled? I assume not.
2) Anyone know a good website with tutorial? I'm good with JS, just don't know how the behaviour thing works.

SuzyUK

8:34 am on Apr 25, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



1. = No

2. Introduction to DHTML Behaviors [msdn.microsoft.com]

Dabrowski

12:02 pm on Apr 25, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm a little worried that that is an MDSN site? Is this an IE only thing?

Robin_reala

12:18 pm on Apr 25, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It is indeed. The equivalent standard is w3's XBL [w3.org], but I don't know if anyone implements it apart from Mozilla (where it originally came from) and how close their implementation is to the current spec.

Dabrowski

12:53 pm on Apr 25, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



ok forget that then. I stick to one lot of JS that's cross browser, rather than 2 lots that might work.

Thanks for info.