Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

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

Part Four: Web Site Frills > JavaScript and DHTML: Adding Interactivity

Chapter 14. JavaScript and DHTML: Adding Interactivity

JavaScript is a simplified programming language designed for beefing up HTML pages with interactive features. JavaScript aims to give you just enough programming muscle to add some fancy effects, but not enough to cause any serious damage if your code goes wonky. JavaScript is perfect for creating pop-up windows, marquee-style scrolling text, and buttons that light up when a visitor moves his or her mouse pointer over them. On the other hand, JavaScript can't help you build a hot e-commerce storefront (for that, you need the PayPal tools described in Chapter 13).

The goal of this chapter isn't to teach you all the details of JavaScript. Instead, by the time this chapter's through, you should know enough to find a great script online, understand it well enough to make basic changes, and paste it into your pages to get the results you want. Since the Web's got dozens of JavaScript sites, offering thousands of ready-made scripts for free, these basic skills can come in very handy.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint