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

Chapter 15. Using ASP with JavaScript > Controlling Multiple ASP Pages with Jav...

Controlling Multiple ASP Pages with JavaScript

One use of JavaScript is to serve as a controller for ASP pages appearing in an HTML environment. Because ASP replaces a page that it is called from, one plan of action is to use JavaScript to create a number of buttons used to launch different ASP pages within a frameset. JavaScript can reside in the menu page, and ASP is called in the body page of a two-column frameset. At the same time, both the JavaScript page and the ASP page share a common external style sheet. Seven scripts are required for this project: an external CSS file, a frameset page, the menu page using JavaScript, a placeholder page, and three ASP pages demonstrating different features of ASP.

Cascading Style Sheet

Using a color scheme from The Designer’s Guide to Color Combinations by Leslie Cabarga (North Light Books, 1999), the first step is to create a palette using the following colors (all values are in hexadecimal):


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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