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

Chapter 6. Frames, Frames, and More Frames > Storing Information in Frames

Storing Information in Frames

In situations similar to that in the previous example, you can also keep track of useful information across frames, by storing the variables in the permanent frame page. Figure 6.11 shows how many times a user has visited each content page this session. Once again, scripts are needed in multiple frames, and those frames are loaded by the frameset in Script 6.22.

Figure 6.11. The JavaScript says that you have viewed Page 2 three times in this session.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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