■スクリプト
<HTML> <HEAD> <TITLE>Sample</TITLE> </HEAD> <BODY bgColor="white"> <CENTER> <H1>レイヤーの上側のオフセットを返します</H1> </CENTER> <LAYER top="100" clip="0,0,220,120" top="32" width="220" NAME="Draemon Slayer" bgColor="gray"><BR><BR> <SCRIPT Language="JavaScript"> <!-- document.write("レイヤーの上側のオフセット:",window.document.layers["Draemon Slayer"].top); // --> </SCRIPT> </LAYER> </BODY></HTML>