Controlling the Scroll Box
When you want to change the characteristics of the scrolling box, you can change one of the following parameters:
Gsrc: The URL of the external HTML feed.
Ginterval: The number of milliseconds to wait between successive movements of the pages.
Gincrement: The distance in pixels of each movement.
GcanvasColor: The color of the canvas' background. Needed only for Internet Explorer. The color in Netscape Navigator is set in the external HTML file itself.
GleftPadding: The padding on the left side of the box.
The parameters are placed in a separate script,
// Begin parameters of scroller var Gsrc = "jscolumns.html"; var Ginterval = 50; // The number of milliseconds between each vertical movement. var Gdelay = 20; var Gincrement = 1; // The distance (in pixels) of each movement. var GcanvasColor = "#FFCCff"; // background color of scroller, named or hex var GleftPadding = 3; // End parameters of scroller
Gdelay variable is used to synchronize the various page loading, and does not control the appearance of the page.
Produced by Yehuda Shiran and Tomer Shiran
Created: December 21, 1998
Revised: December 21, 1998