View Full Version : Fading Scroller Question

11-29-2008, 09:01 PM
1) Script Title: Fading Scroller

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/fadescroll.htm

3) Describe problem: Is there any way to make the different message appear in random form - every time they reach my page they will see the same items otherwise - I would love to mix 50 or so different messages.

11-30-2008, 08:31 AM
Sure, just add to the script:

. . . th='150px'; //set scroller width
var fheight='150px'; //set scroller height

var fadelinks=1; //should links inside scroller content also fade like text? 0 for no, 1 for yes.

///No need to edit below this line/////////////////

fcontent.sort(function() {return 0.5 - Math.random();});

var ie4=document.all&&!document.getElementById;
var DOM2=document.getElementById;
var faderd . . .

12-04-2008, 12:27 AM
Thanks sooo much - That worked great!!!!!