eHow launches Android app: Get the best of eHow on the go.

How To

How to Use Spry Effects in Dreamweaver CS3

Contributor
By Virginia DeBolt
eHow Contributing Writer
(4 Ratings)

Spry Effects were added to the available Dreamweaver behaviors in the CS3 version. They create visual effects such as highlighting particular parts of a page, making things fade in and out, shake or grow. They can create a focal point, but should not be used in large doses. Here is how to work with Spry Effects.

Difficulty: Moderate
Instructions

Things You'll Need:

  • Dreamweaver CS3 software or higher
  1. Step 1
    Dreamweaver document
    Dreamweaver document

    An element must have an ID applied to become the target of a Spry Effect. In this partially-constructed Dreamweaver page I have applied an ID called "beefy" to the heading that says "Beefy Treats."

  2. Step 2

    If the Behaviors panel is not open, go to Window > Behaviors to bring it to the front.

  3. Step 3
    The Spry Effects
    The Spry Effects

    Click the plus sign (+) to add a new behavior. Select Effects to see the available Spry Effects: Appear/Fade, Blind, Grow/Shrink, Highlight, Shake, Slide or Squish.

  4. Step 4

    Choose the one you want from the Effects menu. I selected Highlight and the Highlight dialog opened.

  5. Step 5
    Select the ID
    Select the ID

    Select the ID you want to apply the effect to. I selected h1 "beefy."

  6. Step 6
    Set your parameters
    Set your parameters

    Select the options for the effect. For highlight, pick a duration, a start color and end color, and the color after the effect.

  7. Step 7

    Dreamweaver will inform you that it is adding a JavaScript file to your site root. Click OK. Remember to upload the scripts folder with the page.

  8. Step 8
    Select a trigger
    Select a trigger

    Select the user event such as onClick or onMouseOver that you want to have trigger the Spry Effect. This menu is in the behaviors panel.

  9. Step 9

    Take a look at your page in a browser to see if you like the effect. You can edit it by double-clicking the effect name in the behavior panel.

Comments  

Veesites said

Flag This Comment

on 6/13/2008 Hi tomed3210,
You should be able to use a background image instead of the background color in the Spry Menubars. Find the right selector in the CSS panel, click the pencil icon to edit it, and insert a background image rule.

My article about Spry menu bars is here
http://www.ehow.com/how_2245492_dreamweaver-cs-spry-menu-bars.html

tomed3210 said

Flag This Comment

on 6/13/2008 Is it possible to use background images in Spry menus? ANy help appreciated.

Post a Comment

Post a Comment
  • Have you done this? Click here to let us know.
I Did This

Related Ads

Internet
Virginia DeBolt,

Meet Virginia DeBolt eHow's Internet Expert.

Get Free Internet Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Demand Media
eHow_eHow Technology and Electronics