links in iframes

Joined
Apr 11, 2011
Messages
4
Reaction score
0
Points
1
Location
Kansas City, MO
Your Mac's Specs
Mac OS Snow Leopard 10.6.7 2 GHz Intel 3GB 667 MHz DDR2 SDRAM
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>
 
OP
J
Joined
Apr 11, 2011
Messages
4
Reaction score
0
Points
1
Location
Kansas City, MO
Your Mac's Specs
Mac OS Snow Leopard 10.6.7 2 GHz Intel 3GB 667 MHz DDR2 SDRAM
I should also note that my iframe contains a page from my own site, not from an external one.
 
Joined
Apr 30, 2011
Messages
1
Reaction score
0
Points
1
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
 
Joined
Dec 23, 2010
Messages
110
Reaction score
4
Points
18
Location
Vilano Beach, FL
Your Mac's Specs
MBP 15" 16/500/2.3GHz, iPad 4 32GB, iPhone 5 32GB
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 :)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top