Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Oct 2005
    Thanked 0 Times in 0 Posts

    Forcing links in an iframe(src=notmine) to open in a new page

    hi, id like to include an iframe in my site, the src of the iframe is from another site.

    the problem is that all the links in the site will open in the iframe, causing problems. the iframe is only suitable for the page im aiming at.

    is it possible to force all the links to open in a new window?

    remember, i dont have access to the iframe src.

    none of the links in it have names, classes or targets.

  2. #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    In a place far, far away...
    Thanked 1,043 Times in 1,019 Posts
    Either way you would need javascript and for security reasons JS can't go across domains so to answer your question. No you can't.


Posting Permissions

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