Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    xml links open in new window - simple?

    I am trying to get the links in an xml document to open in a new window. The xml doc is a source for an rss feed - which works fine. My only problem is the client wants links that navigate away from their site to open in a new window.

    example of link tags:

    [CODE]
    <item>
    <title>This is my story</title>
    <link>http://www.mylifestory.net</link>
    <description>crazy person on the loose</description>
    </item>
    [CODE]

    Do I add something in the link tag, like with html? Or do I need something else, a js or I don't know - this seems like it should simple and have been searching for hours.

    thanks in advance for your help.

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,854
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    A sample code is at target="_" Strict Alternative
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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