Results 1 to 2 of 2

Thread: Open a new browser window on clicking a link

  1. #1
    Join Date
    Jan 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Open a new browser window on clicking a link

    Hi there!

    I am using the Pausing Up-Down Scroller which has links. The content of these links can be modified as per your choice. It is observed that on clicking the link the parent page refreshes whereas I want the link to open a new browser window.

    Can anybody tell me how to do that? I tried giving a 'target=_blank' and it dosent work.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    You almost had it right, use:

    target='_blank'

    instead, ex:

    Code:
    messages[0]="<font face='Arial'><a href='http://www.dynamicdrive.com' target='_blank'>Click here to go back to Dynamicdrive.com frontpage</a></font>"
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •