Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Inserting one web page into another?
Old 12-28-2006, 12:51 PM Inserting one web page into another?
Super Talker

Posts: 133
Name: Jess Weiss
Location: Massachusetts
Trades: 0
I thought I had heard of this, but can't seem to find any info: I want to insert one web page into another, instead of just creating a link. So, for example, can I insert boston.com into jessweiss.com so that the branding info for jessweiss.com shows around the boston.com page? Am I expressing this right? I think you frequently see this in pages by about.com...

TIA!
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
 
Register now for full access!
Old 12-28-2006, 02:03 PM Re: Inserting one web page into another?
blue-dreamer's Avatar
King Spam Talker

Posts: 1,222
Location: Middle England
Trades: 0
I think what you need to learn about are "server side includes" which can be added using PHP or SSI, and are typically used for headers/footers and so on.

SSI tips - http://www.outfront.net/tutorials_02.../includes2.htm
PHP tips - http://www.w3schools.com/php/php_includes.asp
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 12-28-2006, 02:27 PM Re: Inserting one web page into another?
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
or a more simple way would be to use iframes (but unless u linked to the page in the iframe it wont be indexed when you site is inedexed if you know what i mean) i would use this if u use html and <?php include ('http://site.com'); ?> if you use php...

Dan
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 12-28-2006, 02:32 PM Re: Inserting one web page into another?
blackhawkpowers's Avatar
Ultra Talker

Posts: 313
Name: Dustin
Location: GA
Trades: 0
I think what you're looking for is a frame although they are normally highly discouraged if you're using them for navigation purposes (around your own site) but seems you want to display somebody else's page on yours which from my point of view would be more of an iframe than a serverside include..... what you want is something like this....also understand i'm using a basic table for simplicity...

HTML Code:
<table border="0" padding="0">
<tr>
 <td>
 <a href=http://www.google.com target="main"> google </a><br>
 <a href=http://www.boston.com target="main"> Boston.com </a><br>
 <a href="./home.html" target="main"> home </a>
 </td>
 <td>
  <iframe name="main" src="home.html" frameborder="no" height="600" width="700"></iframe>
 </td>
</tr>
</table>
hopefully this helps you out
__________________
A patch is a piece of software which replaces old bugs with new bugs.

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
blackhawkpowers is offline
Reply With Quote
View Public Profile Visit blackhawkpowers's homepage!
 
Old 12-28-2006, 03:36 PM Re: Inserting one web page into another?
Super Talker

Posts: 133
Name: Jess Weiss
Location: Massachusetts
Trades: 0
As always, guys - you are the best!
__________________
"If you worried about falling off the bike, you'd never get on it" - Lance Armstrong

"The problem with people who have no vices is that generally you can be pretty sure they're going to have some pretty annoying virtues." - Elizabeth Taylor
lynnema is offline
Reply With Quote
View Public Profile Visit lynnema's homepage!
 
Old 12-30-2006, 10:05 AM Re: Inserting one web page into another?
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
also if u want you can make a page in php so that it takes the source from the url so site.com/iframe.php?site-www.google.com the script would display google.com in the iframe

and if u went to site.com/iframe.php?site=www.bbc.co.uk it would display bbc in iframe

dunno if u would use this if u would PM me or somin and ill post the script.

Dan
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Old 01-02-2007, 06:11 PM Re: Inserting one web page into another?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
No need to use iframes.. can be done w/o them or includes:
http://www.aplus.co.yu/web-dev/inser...her-html-page/
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-03-2007, 06:38 AM Re: Inserting one web page into another?
lizard dude's Avatar
Super Talker

Posts: 119
Location: France
Trades: 0
Quote:
Originally Posted by blackhawkpowers View Post
I think what you're looking for is a frame although they are normally highly discouraged if you're using them for navigation purposes (around your own site) but seems you want to display somebody else's page on yours which from my point of view would be more of an iframe than a serverside include..... what you want is something like this....also understand i'm using a basic table for simplicity...

HTML Code:
<table border="0" padding="0">
<tr>
 <td>
 <a href=http://www.google.com target="main"> google </a><br>
 <a href=http://www.boston.com target="main"> Boston.com </a><br>
 <a href="./home.html" target="main"> home </a>
 </td>
 <td>
  <iframe name="main" src="home.html" frameborder="no" height="600" width="700"></iframe>
 </td>
</tr>
</table>
hopefully this helps you out
That's the easiest and best way to do it
__________________
forum------->
Please login or register to view this content. Registration is FREE
, for people who wants to have a good time ;)
website------>
Please login or register to view this content. Registration is FREE
(might be in construction :D)
Hope you have a great time and that my post is helpfull ;)
lizard dude is offline
Reply With Quote
View Public Profile
 
Old 01-03-2007, 07:39 AM Re: Inserting one web page into another?
technoguy's Avatar
Extreme Talker

Posts: 151
Trades: 2
I often use <?php include ("site"); ?> in php

Hope it helps
technoguy is offline
Reply With Quote
View Public Profile
 
Old 01-03-2007, 09:23 AM Re: Inserting one web page into another?
dansgalaxy's Avatar
Defies a Status

Posts: 6,521
Name: Dan
Location: Swindon
Trades: 0
i lookd at that link and i think i might start using that for a few things. i supose the problem with then is (unlike the php include) it shows the <object etc tags wand the actual location of that content.

not good if you dont want the to be able to view the source.
dan
__________________
Discounted Web Hosting With XDnet!
>> Get 25% of hosting~ Promo: Webmaster-talk <<

Please login or register to view this content. Registration is FREE
dansgalaxy is offline
Reply With Quote
View Public Profile Visit dansgalaxy's homepage!
 
Reply     « Reply to Inserting one web page into another?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31927 seconds with 12 queries