Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2008-09-18, 11:14 AM   #1
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,930
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?
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is offline   Reply With Quote
Old 2008-09-18, 11:21 AM   #2
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
You can load the site in an iframe but the links on the site would need to have target="_top".
Code:
<iframe src="http://www.greenguysboard.com/board/showthread.php?t=49107" frameborder="0" marginwidth="0" marginheight="0" height="400" width="600">
</iframe>
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2008-09-18, 11:44 AM   #3
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,930
Quote:
Originally Posted by Cleo View Post
You can load the site in an iframe but the links on the site would need to have target="_top".
Code:
<iframe src="http://www.greenguysboard.com/board/showthread.php?t=49107" frameborder="0" marginwidth="0" marginheight="0" height="400" width="600">
</iframe>
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
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is offline   Reply With Quote
Old 2008-09-18, 11:46 AM   #4
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
Yeah it sucks when the site gets loaded into a tiny iframe.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2008-09-18, 11:48 AM   #5
Fonz
Former pr0n slinger.
 
Fonz's Avatar
 
Join Date: Aug 2003
Location: Antwerp, Belgium
Posts: 7,930
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
__________________
See how I abuse little trees on my Shumi no Bonsai Blog
Fonz is offline   Reply With Quote
Old 2008-09-18, 11:56 AM   #6
Cleo
Subversive filth of the hedonistic decadent West
 
Cleo's Avatar
 
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
You could always just take a screen shot of the paysite.
__________________
Free Rides on Uber and Lyft
Uber Car: uberTzTerri
Lyft Car: TZ896289
Cleo is offline   Reply With Quote
Old 2008-09-18, 01:25 PM   #7
Mateusz
Screw you, guys. I'm going home.
 
Mateusz's Avatar
 
Join Date: Mar 2004
Location: Gliwice, Poland
Posts: 996
Send a message via ICQ to Mateusz
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
Mateusz is offline   Reply With Quote
Old 2008-09-18, 10:57 PM   #8
dunc
You can now put whatever you want in this space :)
 
dunc's Avatar
 
Join Date: Feb 2007
Location: Australia
Posts: 658
How about this:

http://www.dynamicdrive.com/dynamici...jaxcontent.htm
dunc is offline   Reply With Quote
Old 2008-09-19, 12:37 AM   #9
MadCat
If something's hard to do, then it's not worth doing
 
MadCat's Avatar
 
Join Date: Sep 2008
Location: Berlin, Germany
Posts: 247
Here you go:

Code:
<html>
<frameset rows="0,*" border="0" frameborder="0">
  <frame name="_blank" src="about:blank">
  <frame name="http://your-paysite-url.com" name="_content">
</frameset>
</html>
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
MadCat is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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