/* ******************************************************************** * Create a new scrollObject: * * var scroll1 = new scrollObject("scr1", 120, 120, "up", 5000, 1.4); * * The arguments for this object are as follows: * a. - ID of the target tag (from step 1) * b. - Width (in pixels) of your scroller * c. - Height (in pixels) of your scroller * d. - Scroll direction: one of "up", "down", "left" or "right" * e. - Amount of time to pause before next scroll begins (ms) * f. - Slide-in speed of your scroller (1.001 up to width or height) * *************************************************** BEGIN CODE ***** */ // ***** Sample scroller #1 var scroll1 = new scrollObject("scr1", "249", 40, "left", 5000, 1.15); var scroll2 = new scrollObject("scr2", 180, 139, "up", 5000, 1.15);