Donate SIGN UP

Web page design

Avatar Image
edhesketh | 17:52 Tue 30th Dec 2003 | Technology
4 Answers
Is there a simple way of making a link to an external web site open inside a frame?
Gravatar

Answers

1 to 4 of 4rss feed

Best Answer

No best answer has yet been selected by edhesketh. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
If you mean inside a frame on you own site... yes, simply use an iframe tag. It is rather annoying for visitors though.
Question Author
Thanks for the answer, I like the simplicity of those iframe tags but I was thinking more of an external link opening in a new window with a frame at the top of the new window.
go to www.sjknetwork.com/tutorials they are usually pretty good
If you want to just launch a link into a new window simply use TARGET="_blank" inside the anchor tag for the link. (Though be warned users can get v. annoyed if you continually open new windows and if they use a pop-up killer then the new browser window will just get closed sometimes). This said if you want to use the frame tags then the link you use to open the new browser window must be to you own htm file which uses frames and then autoload the external site into one of the frames. (essentially the point is if you want frames around an externalsite the frames have to be yours - be warned though people can and do (myself included) code their pages to auto-display in the full browser window and effectively just bin your frame). Alternatively if you just want to be able to alter the new window rather than allow it to simply display the external link in its default settings then you need to use something like javascript.e.g.

1 to 4 of 4rss feed

Do you know the answer?

Web page design

Answer Question >>