PDA

View Full Version : Advanced RSS Ticker (Ajax invocation) Update Ticker-Object without page refresh



tw64
10-26-2008, 11:51 AM
1) Script Title: Advanced RSS Ticker (Ajax invocation)

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

3) Describe problem:
- Once having installed the ticker everything is working fine
- After an update (refresh) of the page depending on cachetime new content is added (as it should)

But:
I wonder how the ticker-objects may be updated after a certain time (e.g. cachetime) without refreshing the page where the tickers reside.

The idea is having the page itself loaded once and the ticker content updated after a certain amount of time.

Thanks a lot

ddadmin
10-27-2008, 07:48 AM
This has been asked before actually. There's currently no easy way to do this unfortunately. It is on my short list of potential new features to add to the script the next time it's updated, probably within the next couple of months.

kriko
06-08-2009, 05:50 PM
Anyone tried to implement this?

I'm trying, but my js knowledge is limited.

I've tried to call refreshContent every 5 seconds, but this
doesn't work.


function refreshContent()
{
if (this.ajaxobj){
var instanceOfTicker=this
this.getAjaxcontent();
}
}

setInterval("refreshContent()",5000);