Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Properties

Status
Not open for further replies.

tsdragon

Programmer
Dec 18, 2000
5,133
US
I've just been reading up on "Dynamic Properties" and they look very useful. But before I start using them I'd like to know: Are they supported by browsers other than IE?


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 

All my searching leads me to believe this is IE 5+ Windows only.

Cheers,
Jeff

 
After trying to use them on an (IE only) page I found that while they appear to be useful, they're not that useful. The examples in MSDN are very simplistic. In real-life applications they're cumbersome and limited for anything but very simple stuff (try setting and element based on the left or top absolute position of another element and you'll see what I mean). Since there are ways to accomplish essentially the same things without them, I doubt I'll end up using them much.


Tracy Dryden

Meddle not in the affairs of dragons,
For you are crunchy, and good with mustard. [dragon]
 
At least on paper you can do lotsa things with dynamic properties. For example, zebra stuff on table:
Code:
.zebra tbody tr
{	background-color: expression( this.rowIndex%2? "lightblue": "cornsilk" );
}
Of course this applies to IE-only audience (intranets?).

Dynamic properties can be slow, and in some cases they can easily freeze browser (direct or indirect recursion).

------
"There's a man... He's bald and wears a short-sleeved shirt, and somehow he's very important to me. I think his name is Homer."
(Jack O'Neill, Stargate)
[banghead]
 

They're like a cut-down version of behaviours, in some ways.

Dan


[tt]D'ya think I got where I am today because I dress like Peter Pan here?[/tt]
[banghead]

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top