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 08: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 09: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']; ?>">
<p>Your browser doesn't support frames.
This frameset document contains this page:
<a href="<?php echo $_GET['link']; ?>">

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 04:07 PM

Thanks Flynn! :)
I will try that.

Webmason Dec 22, 2010 02:53 PM


I am trying this too.

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

What does that mean exactly?



Webmason Dec 22, 2010 03: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 12:12 PM.

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