'pixelRight' Example
|
|
<html> <head> <script language="JavaScript"> function function1(){ document.all.myDiv.style.pixelRight = 500; } </script> </head> <body> <div id="myDiv" style="background-color:#EEEEEE; position:absolute; width:200; cursor:hand"; onclick="function1()"> Click this div element to pixelRight = 500. </div> </body> </html>
|
|
|
|
|
HTML code for linking to this page:
|