Results 1 to 7 of 7

Thread: Advanced RSS Ticker: Link in new page!

  1. #1
    Join Date
    Jun 2006
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Advanced RSS Ticker: Link in new page!

    In Advanced RSS Ticker (Ajax invocation), i dont know where to modify the script to make the links open in a new window.

    I have added "Advanced RSS ticker (Ajax Invocation) in my forum and other pages through overall header template.
    www.starf1.com
    www.starf1.com/forum

    The problem is when you click the link in the RSS Ticker the present page gets replaced with new one which I dont want. I want the link when clicked to appear in a new page!

    Can anybody help me please!

    Also I am not sure what is difference between the Advanced RSS Ticker (Ajax invocation) and Pausing RSS scroller of Dynamic Drive. Camn anybody let me know please! It will be usefull in using these different scripts at proper places!


    Thank You!
    Last edited by vas; 06-07-2006 at 04:22 AM.

  2. #2
    Join Date
    Jun 2006
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hello Can anybody help me please how abou ddadmn! Advance Thanks for your efforts and help!

  3. #3
    Join Date
    Mar 2006
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

    Default

    You can add a TARGET="_blank" to the <a>-tag,

  4. #4
    Join Date
    Jun 2006
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by benslayton
    You can add a TARGET="_blank" to the <a>-tag,
    Thanks for your reply. I am still not sure where this <a> tag comes. Actually I am not using a iframe to show the ticker but added the script directly in a table.

  5. #5
    Join Date
    Sep 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I see you haven't found a solution to this yet. i have the same problem as I want the news opening up in a new page and not leaving the site.

    target="_blank" is the usual solution but where does it go? I presume it goes into "scrollerbridge.php" here:

    echo "rsscontentdata.$divid" . "[$i]={link:\""

    but how ?

    Thanks

  6. #6
    Join Date
    Aug 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I would like to know this as well.
    I love the ticker, but I want to keep people on my site.

  7. #7
    Join Date
    Aug 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I just figured it out.
    In rssticker.js find this line (about 3/4 way down):

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

    and change it to:

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

    Voila! , the link now ipens in a new window

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
  •