EffectsCode.com logo

Customizing ShimmerButton

To control look-and-feel, ShimmerButton allows you to specify a large range of options as attributes in the XML configuration. It is best to look at the examples to see how these work. The following tables show the possible tags that you can use in ShimmerButton, together with their attribute settings:

ShimmerButton

background
Image for background.

Examples: images/1.jpg,images/2.jpg

bgcolor
Color for background (if no background image is used).

Examples: #0000ff,#ff0000

effectFrames
Number of frames in animation effect

Examples: 7,14

flashColor
Color of background flash.

Examples: #0000ff,#ff0000

frame
Frame to open link in.

Examples: _self,_top

href
Link to open on click.

Examples: http://www.google.com/,http://www.yahoo.com/

masksrc
Optional black and white mask image to encode transparency for jpegs.

Examples: images/1-mask.jpg,images/2-mask.jpg

src
Image for button text (PNG format with transparency recommended).

Examples: images/1.jpg,images/2.jpg

Styles

It is often useful to apply the same attributes to a whole section of XML. In order to do so, you can include such attributes in the special <style> </style> tag. All of the attributes in the style tag are applied to the elements it contains.

External configuration files

You can also include external configuration files in your XML. To do this, use a tag like this: <include file="filename"/>

Extra Customization

If you would ike to include new fonts, images or other effects, please write to us with a feature request.

© 2007 EffectsCode.com All rights reserved.