jspeybro
03-14-2008, 05:35 PM
1) Script Title: gAjax RSS Ticker
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/gajaxrssticker.htm
3) Describe problem:
Hi,
I use this script to provide the user of my site the possibility to add their own RSS feeds to display when they are browsing my site.
The scripts works as expected.
when the user adds and enables a new RSS feed, I use an AJAX call to update the javascript code that produces the ticker to add the newly added RSS url to the code (the URL's are stored in a mysql database and the java code is generated by a PHP script).
when the code is replaced, it keeps showing the original feeds, not the feeds specified in the code that was inserted by the ajax call.
I assume I have to re-initiate the script somehow but cannot find how to do this.
I'm using an ajax call that allows me to execute a javascript command after the call finished inserting the new code, so I probably just need to add a command here.
A workaround is refreshing the entire page but I prefer not to do this if I can do it with ajax.
Can anyone help me or give a hint on how I might be able to solve this?
thanks in advance,
Johan
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex18/gajaxrssticker.htm
3) Describe problem:
Hi,
I use this script to provide the user of my site the possibility to add their own RSS feeds to display when they are browsing my site.
The scripts works as expected.
when the user adds and enables a new RSS feed, I use an AJAX call to update the javascript code that produces the ticker to add the newly added RSS url to the code (the URL's are stored in a mysql database and the java code is generated by a PHP script).
when the code is replaced, it keeps showing the original feeds, not the feeds specified in the code that was inserted by the ajax call.
I assume I have to re-initiate the script somehow but cannot find how to do this.
I'm using an ajax call that allows me to execute a javascript command after the call finished inserting the new code, so I probably just need to add a command here.
A workaround is refreshing the entire page but I prefer not to do this if I can do it with ajax.
Can anyone help me or give a hint on how I might be able to solve this?
thanks in advance,
Johan