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

Chapter 9. Handling Events > The onDblclick Event

The onDblclick Event

One of the drawbacks of the Web is that user interface elements that computer users learned how to interact with have all changed on the Web. For instance, one of the first things that new computer users learn how to do is double click with the mouse, but there's no double clicking on the Web. Or at least, there hasn't been, but now with Script 9.7, you'll be able to check for double mouse clicks.

  • onDblclick="newWindow(0)"
    

    This event handler gets triggered when a user double clicks on one of the thumbnail images. In that case, a new window pops up (Figure 9.6), showing the same image in a larger format.

    Figure 9.6. A double-click on a thumbnail opens the larger version of the image.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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