471,596 Members | 937 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,596 software developers and data experts.

Anchor target="_parent" in an iframe. I need it!

Hi,

I have a set of valid xhtml pages that a third party web site is
integrating with via an <iframein his own page. This retains his own
branding template in the header and footer, with the iframe containing
my pages in the middle of the screen.

When it is time to exit my pages, to take the user back to the third
party web site, I need to direct the browser out of the iframe and to
one of his pages. I leave it at that and his site takes the user from
there.

I use <a target="_parent"... for this. But then my xhtml is invalid
because the target attribute is deprecated!

I don't want to use javasacript to set the window location, because if
you haven't got javascript it isn't accessible.

So why is target deprecated? Surely target="_parent" is completely
safe and can't be abused by pop ups and the like?

I'm not with the w3c on this. Is there a way of directing a link to
the iframe's parent window without using target and without using
javascript?

If not then sod the w3c and sod validation - I have functionality to
think of.

Thanks

Nov 12 '07 #1
0 5334

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Chris Marsh | last post: by
3 posts views Thread by nameno | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by Anwar ali | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.