PDA

View Full Version : AJAX RSS Ticker Question



adamthompson
12-20-2006, 07:15 PM
1) Script Title: Advanced Rss Ticker (AJAX Inovation)

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

3) Describe problem: Need articals to open in a new window instead of taking the user away from my page. https://www.realequityhomes.com

ddadmin
12-21-2006, 03:22 AM
I'm certain this has been answered before (use the "search" function), though to summarize again, you can customize the output of each feed by locating the following code inside the .js file:


var linktitle='<div class="rsstitle"><a href="'+this.link[this.pointer]+'">'+this.title[this.pointer]+'</a></div>'
var description='<div class="rssdescription">'+this.description[this.pointer]+'</div>'
var feeddate='<div class="rssdate">'+this.pubdate[this.pointer]+'</div>'

So in your case, you would change:


var linktitle='<div class="rsstitle"><a href="'+this.link[this.pointer]+'" target="_new" >'+this.title[this.pointer]+'</a></div>'

adamthompson
12-21-2006, 02:21 PM
Thanks