PDA

View Full Version : Link targets for Ajax advanced RSS ticker



coyotech
07-09-2006, 07:43 PM
1) Script Title: Advanced Ajax RSS ticker script

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

3) Describe problem: I want to be able to give a target to the link, so if you click on an item in the ticker it doesn't open on top of itself, or so that you could send it to a frame or a blank page. How would you do that?

ddadmin
07-10-2006, 07:05 PM
Sure, inside rssticker.js, find the line:


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

The code in red is new.