Plug-in JavaScript Chapter 9, Example 70 (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 70</title>

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


<font face='Verdana' size='5'>
<div id='t1'>The quick brown fox jumps over the lazy dog. </div><br />
<div id='t2'>My hovercraft is full of eels. </div>


window.onload = function()
   TextScroll('t1', LT, 2, 1000)
   TextScroll('t2', RT, 1, 2000)