C# Class Castle.MonoRail.Framework.Helpers.EffectsFatHelper

Just apply the CSS class "fade" to any element and it will fade from yellow to its background color or white if none is specified.

Key Features
* Fade an infinite number of elements.
* No inline JavaScript. Simply give an element a class of "fade", the script does the rest "automagically".
* Background color aware. FAT will do better than simply fade to white if the element (or it's parents) have a CSS background color, it will fade to that background color instead.
* Fade from any color. For example, if you wanted a list of error messages to fade out from red you would simply give the list a class of "fade-FF0000".
* Super smooth fading. By default, elements will fade at 30 frames per second (the same rate as a television) over 3 seconds. You can adjust this to any framerate and any duration. You could easily fade elements at 60 frames per second over 4, 5, 10 seconds!

NOTE: All elements to be faded must have an id tag! BASIC USE:

Watch me fade

ADVANCED USE: Change the default fade from color:

Watch me fade from Blue (#0066FF)

SEE MORE HERE: http://www.axentric.com/posts/default/7
Inheritance: AbstractHelper
Afficher le fichier Open project: nats/castle-1.0.3-mono

Méthodes publiques

Méthode Description
InstallScripts ( ) : String

Renders a Javascript library inside a single script tag.

Private Methods

Méthode Description
GetJavascriptFunctions ( ) : String

Method Details

InstallScripts() public méthode

Renders a Javascript library inside a single script tag.
public InstallScripts ( ) : String
Résultat String