Plug-in JavaScript Chapter 4, Example 23 (Click on the icon to view the source for copy and pasting)
» Run this code now (Right click and select Back to return from the example)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<html><head><title>Plug-in JavaScript: Example 23</title>

<script src="PJ.js"></script>


<div id='moveme'>Move Me</div>


window.onload = function()
   S('moveme').backgroundColor = 'green'
   S('moveme').color           = 'cyan'
   Position('moveme', ABS)
   GoTo('moveme', 200, 25)