Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Frames

Status
Not open for further replies.

alexanderdring

Technical User
Dec 27, 2002
36
FR
Hi all,

I have produced two websites and I would like to have one link to the other, but with the identity of the first superimposed onto the second. Is it possible to do this with frames? Think Hotmail: when you follow a link from Hotmail, it displays the Hotmail banner in a frame at the top and the site that you are going to appears in a new frame below. Is this relatively simple to implement? I'd appreciate any help you can provide!

Thanks.
 
Yes, you would use frames, with all their "problems".

You simply need to make links from site A to site B be targetted to the frame in site A.

Set up your frameset (I'll let you google for that one ;-) ).
Lets say we assign the names "nav" and "content" to our frames.

If you want a page to load in a particular frame you would do something like

Code:
<a href="linkToExternalSite.html" target="content">

The one thing I would say is that like Hotmail you provide a way to "break out" of the frames. i.e. a link that loads the site properly, outside the frameset.

If you are the owner of both sites then fair enough, but if you are not the owner of the site being pulled into the frame then get their permission. You will be using their bandwidth remember!

Foamcow Heavy Industries - Web design and ranting
Toccoa Games - Day of Defeat gaming community
Target Marketing Communications - Advertising, Direct Marketing and Public Relations
"I'm making time
 
Take it outside, boys. [smile] Why don't you meet in say, North Carolina, and duke it out?

Frames are neither the 'evil axis of the internet' nor the 'be all and end all' of website development. They are just another tool in the developer's toolbox (albeit a very dusty tool in mine).
And they are about the only way to answer the question posted here.

Bad websites can be developed with or without frames and with or without css.

Greg
"Personally, I am always ready to learn, although I do not always like being taught." - Winston Churchill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top