microsoft.com/en-us/library/ms537634.aspx#Implement
31 http://msdn2.microsoft.com/en-us/library/hbxc2t98.aspx
32 JScript is Microsoft??™s implementation of JavaScript. While JScript??™s core language implementation
is basically the same as JavaScript??™s, the DOM implementation is quite different.
This expression results in a value that??™s applied to the width property. The element
with an ID of "outer" will be restricted to a maximum width of 1024 pixels, and a
minimum width of 600 pixels, depending on the size of the browser window. The
width value is automatically monitored and updated, so the user??™s resizing of the
browser window will trigger whether the minimum or maximum width should be
in effect. Note that the expression needs to take into account whether the element
is being rendered in quirks or standards mode in order to ascertain the correct value
for clientWidth, as the method for obtaining this value varies between these two
modes.
In the next example, we imitate the position property value fixed, which, again,
isn??™t supported in Internet Explorer for Windows versions 6 and earlier:
Vendor-specific Properties
389 Vendor-specific Properties
h1#fixed {
position: absolute;
top: expression(
(d = document.
Pages:
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562