Fade Links
This Command with cause links within your page to fade on mouse over
The script is configured as follows
|
fadeColor = "#7A9EC5";
Color to fade to
|
|
stepIn = 17;
Delay when fading in
|
|
stepOut = 25;
Delay when fading out
|
|
set to true or false; true will cause all links to fade automatically
(you won't need to add class="fade")
autoFade = false;
|
|
Set to true or false; true will cause all CSS classes with "fade"
in them to fade onmouseover
sloppyClass = true;
|
|
Set to true or false; true will make the script work for Macs (IE
5+), but you will have to give a name (name="blah") to
each link that you want to fade.
macCompat = false;
|
Examples
Example:
<a href="blah.html" class="fade">click here</a>
Also, the link must be plain text. This means that you can't have <b>'s,
<i>'s, <font>'s, etc. inside of the link.
Example of what not to do:
<a href="blah.html" class="fade"><b>click</b>
here</a>
For more info
Fade Script Version 3.1
http://anarchos.xs.mw/fade.phtml
(c) July 200
Created by:
Anarchos > anarchos.xs.mw
auto-startColor by Mike West
mike@westman.org
uniqueID upgrade by DubMatrix
http://www.princefari.com
Color conversion from decimal to
hex (dehexize function) by:
Litejet > litejet@hotmail.com
Fade, hex, setColor functions by:
Dak Phoenix > phoenix-archetypes.com
domouseover/out based on scripts by
The Shadow > www.icon.co.za/~andrewk
For further help and tutorials visit our website:
Extension Development
Copyright © 2002 Pixelagent
|