Results 1 to 3 of 3

Thread: AJAX RSS Ticker Question

  1. #1
    Join Date
    Dec 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default AJAX RSS Ticker Question

    1) Script Title: Advanced Rss Ticker (AJAX Inovation)

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ajax/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

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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:

    Code:
    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:

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

  3. #3
    Join Date
    Dec 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •