Name

PAGEX, PAGEY — NN 4 IE n/a HTML n/a

Synopsis

PAGEX=”pixelCount"
PAGEY=”pixelCount"

Optional

To truly position a LAYER element with repeatable accuracy, you can use the top-left corner of the document (page) as the point of reference. When you set the PAGEX and/or PAGEY attributes, you establish an offset for the left and top edges of the LAYER element relative to the corresponding edges of the entire document. Therefore, the zero point for a vertically scrolled page may be above the visible area of the browser window.

Example

<LAYER BGCOLOR="yellow" SRC="instrux.html" WIDTH=200 HEIGHT=300 PAGEX=50 
  PAGEY=350>
</LAYER>

Value

Positive integer values (optionally quoted).

Default

0

Object Model Reference

NN

[window.]document.layerName.pageX

[window.]document.layerName.pageY

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.