Results 1 to 4 of 4

Thread: iframe script, can get links to open in a new browser

  1. #1
    Join Date
    Apr 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default iframe script, can get links to open in a new browser

    1) Script Title: IFRAME SCROLLER

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...e-scroller.htm

    3) Describe problem: the links inside the frame open in the frame not in new browser.

    thanks

    see the problem in www.linkmosaic.com

  2. #2
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    You can use the target attribute and make the links open in the top window, for example:
    Code:
    <a target="_top" href="page.html">Link</a>
    Good luck!

  3. #3
    Join Date
    Apr 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thank you,

    I see that some links work and some dont.

    Is there a code to put on the page, rather for each link seperatly

    thanks

  4. #4
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Yes there is, add this to the head section of your page:
    HTML Code:
    <base target="_top">
    Good luck!

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
  •