Displaying a site within a site

F

Floyd

Hi,

How do I append/include another web site on another server within my
own site?

What I'm trying to do is have Some text links on my own server which I
can update at the start of a page then below it have another web site
displayed rather than just linking to it.

Thanks,

Floyd
 
S

SpaceGirl

Floyd said:
Hi,

How do I append/include another web site on another server within my
own site?

What I'm trying to do is have Some text links on my own server which I
can update at the start of a page then below it have another web site
displayed rather than just linking to it.

Thanks,

Floyd

Use frames. THat's the only way. Beware a lot of sites include frame
breaking code, so it may not work at all. You cannot use server-side
includes to include an entire site inside another without totally
breaking the HTML (two sets of headers on one page? uh-uh).

--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
 
S

SpaceGirl

Floyd said:
Thanks. This is exactly what I was trying to do.

Floyd


Use an iframe then:

---------------

<p>my cool page with content from a 3rd party site</p>

<iframe src="http://www.microsoft.com" width="300" height="300"
frameborder="0"></iframe>

<p>some text below the 3rd party site</p>


--


x theSpaceGirl (miranda)

# lead designer @ http://www.dhnewmedia.com #
# remove NO SPAM to email, or use form on website #
 
J

Jan Faerber

SpaceGirl said:
Use an iframe then:

---------------

<p>my cool page with content from a 3rd party site</p>

<iframe src="http://www.microsoft.com" width="300" height="300"
frameborder="0"></iframe>

<p>some text below the 3rd party site</p>

Here an example for an iframe:
'Ads by Goooooogle' on
http://dict.leo.org/?lang=en&lp=ende&search=

<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>

and in this show_ads.js file =>

[..]
document.write('<ifr' + 'ame' +
[..]
' scrolling="no">');
google_write_tracker('noiframe');
document.write('</ifr' + 'ame>');
[..]

If you don't mind ... two questions:
Why do they use <ifr' + 'ame'
and why do they use scrolling="no"?
 
T

Toby Inkster

Jan said:
If you don't mind ... two questions:
Why do they use <ifr' + 'ame'

Not sure. Perhaps to get around corporate firewalls that do a rudimentry
check to block "<iframe".
and why do they use scrolling="no"?

Because they don't want to risk people being able to actually *read* all
the ads.
 
B

Beauregard T. Shagnasty

Floyd said:
How do I append/include another web site on another server within
my own site?

First question: do you own this other site?

Second question: if you do capture it and include it in your own
site, will you have some sort of heading that says "The following
information is from example.com" ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top