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

Chapter 10. Moving on Down the Road: Int... > Two Special Floater Events

Two Special Floater Events

This little undocumented feature has somehow managed to stay fairly secret. Unless you hang out in the Macromedia Dreamweaver Extensibility Newsgroup (http://www.macromedia.com/support/dreamweaver/extend/form/) or know Joe Marini or someone who knows him, chances are you don’t know about these miniature gems. The onShow and onHide attributes are two events available only to floating panel extensions, and both can be added to the <body> tag. That’s right, they’re not just attributes; they’re events, which means you can use them to call JavaScript functions. Here’s an example:

<body onShow="doThis();" onHide="doThat();">


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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