This will only work with 1 item shown at a time, fortunately, that's what your image indicates you have:
gajaxtickerfade3.js
I've made the other changes indicated by your image and explanation, to show label without the brackets, then title.
For simplicity's sake I've added variables near the top of the script to control the timing:
Code:
// -------------------------------------------------------------------
// gAjax RSS Ticker- By Dynamic Drive, available at: http://www.dynamicdrive.com
// Created: Aug 2nd, 2007 Updated: n/a
// REQUIRES: gfeedfetcher.js class, available at http://dynamicdrive.com/dynamicindex18/gajaxrssdisplayer.htm
// -------------------------------------------------------------------
var gfeedfetcher_loading_image="indicator.gif", //Specify full URL to "loading" image. Overwrites same var from gfeedfetcher.js
titlefadeouttime = 1000, //milliseconds to fade out old title
titlefadeintime = 1000; //milliseconds to fade in new title
function gfeedrssticker(divid, divC . . .
Their use should be self explanatory. It should be noted that the amount of time it takes for the old title to fade out, plus the amount of time it takes for the new one to fade in will be in effect added to the delay between items. That's because the the timeout delay for the next item isn't set until the animation for fading in the new title is complete.
Also, the other script I had (gajaxtickerfade2.js) had a flaw in it, I'm updating it. Though it probably isn't a good choice for this. It would make the label constant (fading the same thing out from over the same thing looks constant) and appear to fade in when changed, but the look of a single title/item fading out over a single title/item isn't great. So script 2 is best suited to multiple items per cycle. But, as I say, I'm updating it in my previous post. That's so anyone trying it will not have the flaw (only Chrome was copying the required background). Still you might want to try it out for comparison purposes.
Bookmarks