Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   How to load a url in a html page? (http://www.greenguysboard.com/board/showthread.php?t=49107)

Fonz 2008-09-18 11:14 AM

How to load a url in a html page?
 
I want to load a paysite on one of my URLs. pe. When you go to www.mysite.com you stay on that URL but a sponsor's paysite is shown. And when the surfer clicks on lets say the join link he's taken to the actual paysite join page with the paysite url showing in the browser.

Anyway I can get this done?

Cleo 2008-09-18 11:21 AM

You can load the site in an iframe but the links on the site would need to have target="_top".
Code:



Fonz 2008-09-18 11:44 AM

Quote:

Originally Posted by Cleo (Post 421139)
You can load the site in an iframe but the links on the site would need to have target="_top".
Code:



Yeah that thought has crossed my mind also but I figure most paysites won't have the target="_top" thing. But it comes close to what I have in mind. Thx :)

Cleo 2008-09-18 11:46 AM

Yeah it sucks when the site gets loaded into a tiny iframe.

Fonz 2008-09-18 11:48 AM

I tried width="100%" height="100%" and set the margins for the page to 0. That filled up the entire page but it gave me double scrollbars :)

Cleo 2008-09-18 11:56 AM

You could always just take a screen shot of the paysite.

Mateusz 2008-09-18 01:25 PM

I'm pretty sure it has something to do with server settings, htaccess perhaps - I tried to do the same in past and as far as I remember I finally made it but can't recall how :(

dunc 2008-09-18 10:57 PM

How about this:

http://www.dynamicdrive.com/dynamici...jaxcontent.htm

MadCat 2008-09-19 12:37 AM

Here you go:

Code:



 
 


That oughta do the trick for the first bit; getting the paysite join button href to open a new window (or at least switch to showing the paysite url) isn't that easy, unless you want to use some javascript and rampage through the DOM tree modifying all the A elements :D


All times are GMT -4. The time now is 06:38 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc