View Full Version : Targeting Outside of Iframe???
TheJoshMan
11-14-2006, 02:36 PM
Hey, I'm sure this probably going to sound completely ridiculous... But I am wondering if it's possible to have a link that's inside of an "Iframe" target the "parent" window? I am making a photo gallery that has links above the Iframe to refresh the Iframe with the corresponding page full of images, but I'm using the lightbox script off of DD and I'm trying to make it open up outside of the Iframe when you click to enlarge the image... Here's a link to a test page so far...
Photo Gallery (http://www.waldronar.com/Design/Myspace/Krysten-Overlay/gallery.html)
Mr.Bacan
11-18-2006, 07:26 PM
I'm having a similar problem. I'm working on a web page and it has 2 or more iFrames on the same page. Is it possible that the link on an iFrame could be loaded in another iFrame?
For example:
The iFrame #1 has a link to http://www.yahoo.com, now I want that link to load in iFrame #2 for example.
Is that possible?
ccrstudioweb
11-30-2006, 10:20 PM
Yes. That's possible.
On original page where link is you type on <body>:
<A href="yourpage.html" target="iframe_name">
and on <iframe> where will open the "yourpage.html" you type:
<iframe src="initial_page.html" name="iframe_name" title="iframe_name" id="iframe_name" frameborder="0" width="554" marginwidth="0" marginheight="0" scrolling="no" height="" align="right"> </iframe>
This code will creat a link to yourpage.html but yourpage.html page will open in the frame called "iframe_name"
boxxertrumps
11-30-2006, 10:29 PM
the links in the iframe doc have to include
target="_top"
very easy...
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.