618542
716
Zoom out
Zoom in
Previous page
1/732
Next page
Applying built-in JavaScript behaviors
To the top
To the top
To the top
Using built-in behaviors
Apply the Call JavaScript behavior
Apply the Change Property behavior
Apply the Check Browser behavior
Apply the Check Plugin behavior
Apply the Control Shockwave or SWF behavior
Apply the Drag AP Element behavior
Gathering information about the draggable AP element
Apply the Go To URL behavior
Apply the Jump Menu behavior
Apply the Jump Menu Go behavior
Apply the Open Browser Window behavior
Apply the Play Sound behavior
Apply the Popup Message behavior
Apply the Preload Images behavior
Apply the Set Nav Bar Image behavior
Apply the Set Text Of Frame behavior
Apply the Set Text Of Container behavior
Apply the Set Text Of Status Bar behavior
Apply the Set Text Of Text Field behavior
Apply the Show-Hide Elements behavior
Apply the Show Pop-Up Menu behavior
Add, remove, and rearrange pop-up menu items
Format a pop-up menu
Position a pop-up menu in a document
Modify a pop-up menu
Apply the Swap Image behavior
Apply the Validate Form behavior
Note: The user interface has been simplified in Dreamweaver CC and later. As a result, you may not find some of the options described in this
article in Dreamweaver CC and later. For more information, see this article.
Using built-in behaviors
The behaviors included with Dreamweaver have been written to work in modern browsers. The behaviors fail silently in older browsers.
Note: The Dreamweaver actions have been carefully written to work in as many browsers as possible. If you remove code from a Dreamweaver
action by hand, or replace it with your own code, you may lose cross-browser compatibility.
Although the Dreamweaver actions were written to maximize cross-browser compatibility, some browsers do not support JavaScript at all, and
many people who browse the web keep JavaScript turned off in their browsers. For best cross-platform results, provide alternative interfaces
enclosed in <noscript> tags so that people without JavaScript can use your site.
Apply the Call JavaScript behavior
The Call JavaScript behavior executes a custom function or line of JavaScript code when an event occurs. (You can write the script yourself, or
you can use code provided by various freely available JavaScript libraries on the web.)
1. Select an object and choose Call JavaScript from the Add Behavior menu of the Behaviors panel.
2. Type the exact JavaScript to be executed, or type the name of a function.
For example, to create a Back button, you might type if (history.length > 0){history.back()}. If you have encapsulated your code in a function,
type only the function name (for example, hGoBack()).
3. Click OK and verify that the default event is correct.
Apply the Change Property behavior
Use the Change Property behavior to change the value of one of an object’s properties (for example, the background color of a div or the action of
709
716


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Adobe Dreamweaver CC - 2013 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Adobe Dreamweaver CC - 2013 in the language / languages: English as an attachment in your email.

The manual is 7,49 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Adobe Dreamweaver CC - 2013

Adobe Dreamweaver CC - 2013 User Manual - German - 750 pages

Adobe Dreamweaver CC - 2013 User Manual - Dutch - 787 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info