PDA

View Full Version : links in iframes



jastafied
04-12-2011, 10:15 AM
I have links inside an iframe that I need to open in full page view outside the iframe (preferably not a new window opening). I'm doing this in iweb and here's what's in my "html snippet"...what would I need to do with the code to get this to work?

<iframe
name="Showframe"
src="http://pat-swope.info/moprswope/hunting_frame.html"
style="width:650px; height:800px;
border-width:0px">
</iframe>

jastafied
04-12-2011, 10:19 AM
I should also note that my iframe contains a page from my own site, not from an external one.

GrasmickJ
05-02-2011, 02:01 PM
Hello Jastafied, I think you should reenter this on your website because I am also tried and it is working. so, put again and then check if you've got he problem again so please tell and provide little more explanation of problem.

Thanks & regards,

Joshua Grasmick (http://kojaxx.com/other/joshua-grasmick/)

[DT]
05-05-2011, 05:16 PM
Howdy!

Just use the target parameter on your HREFs in the frame document (i.e., the hunting_frame.html doc) like so:

<a href="http://www.google.com" target="_top">GOOGLE</a>

That will open the link at the "top" of the page hierarchy and "de-frame" it :)

elliemay
04-22-2012, 11:29 PM
Thank you [DT] you're a lifesaver!!