regent
04-16-2007, 04:08 PM
1) Script Title: Advanced RSS Ticker (Ajax invocation)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/rsstickerajax/
3) Describe problem: I like this script a lot and it works great, but I wanted to try a different tack in using it. Rather than having multiple instances on a page, I wanted one instance that recursively goes through an array of the feeds (e.g., show CNN, then BBC, then Google, etc.).
It's simple enough to set up an array and kind of get things going, but after the first feed, things start to go awry. I either get an unchanging "ticker initialzing" message, or it appears to move on to the next feed (my header text changes), but undefined appears in all the displayed fields.
I did at one point apparently get it to work correctly (showing the CNN items and then the BBC stuff), but after the first full cycle, it wigged out: the messages flashed between the two feeds (apparently cycling very fast and then just stopping on a random item) before increasingly slowing down (probably some sort of memory leak).
It seems like what I want can be done, but I'm nearing the end (maybe I'm already out) of things I can try to make this happen. If anyone's done this successfully and/or could offer some insight as to what I might try, I'd be appreciative. (I don't currently have a visible page to demonstrate my failures, but I'll try to set something up so at least my code changes could be seen.)
Thanks!
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/rsstickerajax/
3) Describe problem: I like this script a lot and it works great, but I wanted to try a different tack in using it. Rather than having multiple instances on a page, I wanted one instance that recursively goes through an array of the feeds (e.g., show CNN, then BBC, then Google, etc.).
It's simple enough to set up an array and kind of get things going, but after the first feed, things start to go awry. I either get an unchanging "ticker initialzing" message, or it appears to move on to the next feed (my header text changes), but undefined appears in all the displayed fields.
I did at one point apparently get it to work correctly (showing the CNN items and then the BBC stuff), but after the first full cycle, it wigged out: the messages flashed between the two feeds (apparently cycling very fast and then just stopping on a random item) before increasingly slowing down (probably some sort of memory leak).
It seems like what I want can be done, but I'm nearing the end (maybe I'm already out) of things I can try to make this happen. If anyone's done this successfully and/or could offer some insight as to what I might try, I'd be appreciative. (I don't currently have a visible page to demonstrate my failures, but I'll try to set something up so at least my code changes could be seen.)
Thanks!