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

Chapter 2. Start Me Up! > Alerting the User

Alerting the User

One of the main uses of JavaScript is to provide feedback to people browsing your site. You can create an alert window that will pop up and give users the vitally important information that they need to know about your page.

In user interface design, less is generally more. For example, you could get the user's attention with loud alarm sirens and big animated banners, but that would be just a bit over the top. Instead, Script 2.4 shows how to create a nice, tasteful alert window. Now you know why we're writers, not designers.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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