PDA

View Full Version : RSS Display Boxes (make autorotate)



gonny
12-23-2006, 03:22 PM
1) Script Title: RSS Display Boxes (example 3 and 4)

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/rssdisplaybox/index.htm

3) Describe problem:
How I can make them to autorotate or rotating with fade effect. Also when mouse is over to pause the rotate.

ddadmin
12-23-2006, 09:43 PM
RSS Display Box is mainly used to display RSS feeds statically. What you're describing can mostly be done with the Ajax RSS ticker script (http://www.dynamicdrive.com/dynamicindex17/rsstickerajax/index.htm).

gonny
12-24-2006, 02:30 PM
Yes, but http://www.dynamicdrive.com/dynamicindex17/rsstickerajax/index.htm doesn't have "Next" and "Previews" buttons I want to show also "Next" and "previews" buttons like in: Script Title: RSS Display Boxes (example 3 and 4)

ddadmin
12-25-2006, 07:46 AM
To get RSS Display Box to rotate automatically at regular intervals, inside rssdisplaybox.js, find the lines:


if (this.chunksize!=this.pieces.length) //if pagination links are indeed needed
this.buildpagination(this.paginatedivid)

and change that to:


if (this.chunksize!=this.pieces.length){ //if pagination links are indeed needed
this.buildpagination(this.paginatedivid)
var rssinstance=this
setInterval(function(){rssinstance.navigate("next")}, 5000)
}

where "5000" means auto rotate every 5 seconds. However, this still trails the RSS scroller/ticker scripts as far as features such as fading, pause onmouseover etc. They're more complicated to implement, and probably will only be done the next time these scripts are updated.

gonny
12-25-2006, 08:17 PM
thank you very very much