View Full Version : Forcing links in an iframe(src=notmine) to open in a new page

12-21-2006, 03:51 PM
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.

12-22-2006, 06:33 AM
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.