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

Chapter 19. Behaviors > Calling JavaScript

Calling JavaScript

This behavior enables you to insert simple JavaScript or to call and communicate with JavaScript functions. Of course, this is no good if you don't know JavaScript, but it can be helpful if you pick some JavaScript code and you're sure where to place it within the HTML.

In the previous example, you created a pop-up window. A common element you find in most pop-up windows is a close button. To create one of these Close buttons, you must insert the JavaScript yourself because no behavior is built in to Dreamweaver to deal with this.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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