Behaviors allow visitors to interact with a Web page to change the page in different ways
14789Behaviors allow visitors to interact with a Web page to change the page in different wayshttp://www.entheosweb.com/website_design/dreamweaver_behaviors.aspUse the Dreamweaver behaviors panel to create jump menus, swap images, pop-up windows, play sound, validate forms and more. Dreamweaver behaviors make it easy to add interactivity to your site. Try out all the cool stuff possible using Dreamweaver behaviorsJavaScript > Tips and Tutorials > MiscellaneousOct 12, 2006Entheos
One of the main issues that arise when writing javascript is ensuring that your script will work in all browsers, or at least fail gracefully if the browser can't support it. As a response to this need you'll find a plethora of browser detect scripts on the net that attempt, with varying degrees of success, to identify the browser being used.
For your website to have traffic, people should remember your site and visit again. This problem was solved long time ago with browser's Bookmarks. Still, people are lazy and usually are not using it, unless you remind them. So a Bookmark us script on your site is very useful
Let's extend this example and dynamically (using PHP), fill in the current page for us. This way we can re-use the same script on any webpage without having to edit the parameter for "this.setHomepage".
Use the Dreamweaver behaviors panel to create jump menus, swap images, pop-up windows, play sound, validate forms and more. Dreamweaver behaviors make it easy to add interactivity to your site. Try out all the cool stuff possible using Dreamweaver behaviors
The first step is to create a link for the sound to be played on Rollover or on Click. You can make a simple text link with the '#' symbol.
The next step is to add a behavior to the link. Open the Behaviors panel by clicking on Windows/Behaviors and click on the '+' symbol in the Behaviors Panel. Click on 'Play Sound'. Browse to find the sound you want to play and click on OK.
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.