News0 min ago
Web page design
4 Answers
Is there a simple way of making a link to an external web site open inside a frame?
Answers
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 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.