home *** CD-ROM | disk | FTP | other *** search
- <IMG NAME=arrow SRC="arrow.gif" ALIGN=left>
-
- <DIV ID=banner STYLE="position: absolute; left: 72; top: 9;">
- <FONT FACE="Arial, Helvetica" SIZE=+2>
- Exposing Page Elements in Communicator 4.0
- </FONT>
- </DIV>
-
- <BR><BR>
- <P>The <TT>DIV</TT> element is reflected as both
- <TT>document.layers['banner']</TT> and <TT>document.banner</TT> in
- Communicator 4.0. Its reflected attributes include:</P>
-
- <BLOCKQUOTE>
- <SCRIPT>
- document.writeln("<B>id:</B> " + document.banner.id + "<BR>");
- document.writeln("<B>left:</B> " + document.layers['banner'].left +
- "<BR>");
- document.writeln("<B>top:</B> " + document.layers['banner'].top +
- "<BR>");
- </SCRIPT>
- </BLOCKQUOTE>
-
- <P>The <TT>IMG</TT> element is reflected as both
- <TT>document.images['arrow']</TT> and <TT>document.arrow</TT> in
- Communicator 4.0. Its reflected attributes include:</P>
-
- <BLOCKQUOTE>
- <SCRIPT>
- document.writeln("<B>name:</B> " + document.images['arrow'].name +
- "<BR>");
- document.writeln("<B>src:</B> " + document.images['arrow'].src +
- "<BR>");
- document.writeln("<B>width:</B> " + document.arrow.width + "<BR>");
- document.writeln("<B>height:</B> " + document.arrow.height + "<BR>");
- </SCRIPT>
- </BLOCKQUOTE>
-
- <P>The <TT>FONT</TT> element is not reflected into JavaScript in
- Communicator 4.0.</P>
-