Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   Opening external links inside a Wordpress frameset? (http://forum.bytesforall.com/showthread.php?t=1287)

d_random Apr 16, 2009 07:04 AM

Opening external links inside a Wordpress frameset?
 
Is it possible to open external links inside a wordpress "frameset"? :confused:

Flynn Apr 16, 2009 08:26 AM

Technically yes, but this one is anything but easy, since there is no "Wordpress frameset", especially if you want the frameset to look like Atahualpa and have Wordpress functionality. And many target sites will probably break out of your frame with a Javascript framebuster anyway. I'd not use frames at all.

If you still want to try, the page with the frameset, i.e. frameset.php would look similar to this

<FRAMESET cols="20%, 80%">
<FRAME src="http://www.mydomain.com/contents_of_left_frame.html">
<FRAME src="<?php echo $_GET['link']; ?>">
<NOFRAMES>
<p>Your browser doesn't support frames.
This frameset document contains this page:
<a href="<?php echo $_GET['link']; ?>">
</p>
</NOFRAMES>
</FRAMESET>

And the link would be <a href="frameset.php?link=http://www.othersite.com/">
with http://www.othersite.com/ being the site that is supposed to be framed

d_random Apr 16, 2009 03:07 PM

Thanks Flynn! :)
I will try that.

Webmason Dec 22, 2010 01:53 PM

Hi,

I am trying this too.

I don't get this part "contents_of_left_frame.html"

What does that mean exactly?

Thanks!

Tom

Webmason Dec 22, 2010 02:59 PM

Thanks STB, I get that, but do I make an outside new HTML page with a frame in it? :o


All times are GMT -6. The time now is 05:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.