View Full Version : open external link in the main frame of new page
yazzou
Oct 20th 2008, 3:27 am
Hello,
I want to know if there is a way to open external link in a new page containing a framset.
I have :
1- pageA.htm : contains an external link
2- pageB.htm : contains 2 frames header (frame1) and main(frame2)
I want to open the external link of pageA.htm in the main frame of pageB.htm
Thanks for any suggestion
Bind
Oct 20th 2008, 11:59 am
page A would have to be part of the frameset that page b is for frame targeted hrefs to work.
in which case the following frame targeted href would load into the main(frame2) of page B, so long as the frame name is main ... if not change the bold value of the line below to the exact frame name of page B's main(frame2):
<a href="http://site.com/external_link.html" target="main">external link</a>
if you are not sure what this means, here is a live example of what i am talking about ... you can view source code of each framed page for specifics .. the links are on the left frame that opens in the right frame:
digitalpointforumhelp.no-ip.org/dp_forum_threads/basic_frames_layout/
of course, if the owner of the page you are trying to frame has a frame breaker script, then your attmpts at framing will fail.
Bind
Oct 21st 2008, 4:04 am
page A would have to be part of the frameset that page b is for frame targeted hrefs to work.
or a child of one of them.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.