...

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



fatrat
12-21-2006, 02: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.

_Aerospace_Eng_
12-22-2006, 05: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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum