Loading Multiple Frames at OnceIt just takes a single link with a target attribute to change the content of a frame; that's simple HTML. To change the content of multiple frames with one click, you need JavaScript. The HTML files are trivial; all the action takes pace in Script 5.15 . Two of the possible states the window can take are shown in Figures 5.12 and 5.13 . Script 5.15. JavaScript lets you load multiple frames with a single user click.
Figure 5.12. The page looks like this initially.
Figure 5.13. But when a link is clicked, both frames change.
To load multiple frames at once:
Tip
|