Linking to external text?

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
james_isaac
Forum Newbie
Posts: 1
Joined: Sat Aug 09, 2003 2:41 am

Linking to external text?

Post by james_isaac »

Could someone please tell me what the easiest way to link to external text on a site. I have tried I-frames, but the background is white. If you could tell me how to make teh background of it transparent, that would be great.

And also, i need something where the text in the contents bar text is linked to, adn tehn when you click on a link, it just changes what file the text in page is linking to.

Hope that made sense.

Any help would be appreciated,
James
User avatar
JAM
DevNet Resident
Posts: 2101
Joined: Fri Aug 08, 2003 6:53 pm
Location: Sweden
Contact:

Re: Linking to external text?

Post by JAM »

james_isaac wrote:Could someone please tell me what the easiest way to link to external text on a site. I have tried I-frames, but the background is white. If you could tell me how to make teh background of it transparent, that would be great.
You cant. Getting the page like that also imports that page's definitions (styles, tags etc.) You could use php and fopen() to get the contents, remove the definitions, and then display it.
And also, i need something where the text in the contents bar text is linked to, adn tehn when you click on a link, it just changes what file the text in page is linking to.
Interesting reading: http://www.xs4all.nl/~ppk/js/iframe.html ?
Post Reply