• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Q&A

Q1: Can I display other people's Web pages from the Internet in one frame, and my own pages in another frame at the same time? What if those sites use frames, too?
A1: You can load any document from anywhere on the Internet (or an intranet) into a frame. If the document is a frameset, its frames are sized to fit within the existing frame into which you load it.

For example, you could put a hotlist of your favorite links in one frame and have the pages that those links refer to appear in a separate frame. This makes it easy to provide links to other sites without risking that someone will get lost and never come back to your own site. Note, however, that if any link within that site has target="_top", it will replace all your frames.

You should also be aware that framing somebody else's pages so that they appear to be part of your own site may get you in legal trouble. Several major lawsuits are pending on this exact issue, so be sure to get explicit written permission from anyone whose pages you plan to put within one of your frames (just as you would if you were putting images or text from his site on your own pages).

Q2: Do I need to put a <title> in all my frames? If I do, which title will be displayed at the top of the window?
A2: The title of the frameset document is the only one that will be displayed. <head> and <title> tags are not required in framed documents, but it's a good idea to give all your pages titles just in case somebody opens one by itself outside any frame.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint