p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   HTML Code Clinic (http://p2p.wrox.com/forumdisplay.php?f=90)
-   -   iframe (http://p2p.wrox.com/showthread.php?t=26255)

rockon March 1st, 2005 08:17 PM

iframe
 
Problem:

I'm Navigating with in an iframe, while clicking a hyperlink another browser window pops up due to the click. (Note: I do not have control of the html being presented with the iframe. Therefore I can not control the target attribute.)

Is it possible to overide the inner html target? (therefore another browser window will not popup when a user clicks on a hyperlink... I would like the user to stay in one bowser; not have multiple windows open)

If not, can you control the iframe not to allow children browser instances?

Thanks!




joefawcett March 2nd, 2005 06:00 AM

I don't think so. Cross domain security restrictions mean once the user browses away from your domain you lose access to the iframe's methods and properties.

--

Joe (Microsoft MVP - XML)


All times are GMT -4. The time now is 09:22 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.