• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 6. Frames, Frames, and More Frames > Forcing a Page into a Frame

Forcing a Page into a Frame

When a search engine catalogs one of your pages, it doesn't know that the page is part of a frame. When a user finds your page via the search engine, clicking on the link will show just the single page, not the full frameset as you designed it. Script 6.4 shows you how to force the full frameset to display even though Google or another search engine doesn't know about the frameset. Figure 6.4 shows the page looking out-of-place, and Figure 6.5 shows it at home, snug in its frame. Scripts 6.2 and 6.3 show the frameset and the left navigation bar, respectively.

Script 6.4. Use JavaScript to force your page into the frameset.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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