This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README.md | Fri Jun 05 18:47:21 -0700 2009 | |
| |
example/ | Sat Apr 04 17:05:26 -0700 2009 | |
| |
src/ | Thu Apr 09 18:17:03 -0700 2009 |
README.md
jQuery Glow
Add the ability to make elements "glow" when you hover over
them. For browsers that support the text-shadow CSS property,
you can also add a halo.
Example: nakajima.github.com/jquery-glow
Note: The halo only appears in browsers that support the text-shadow
CSS property (like Safari). Without it, you can still make the text glow,
but you can't add the halo.
Usage
Here's the most basic example:
$(document).ready(function() {
$('.glow-me').addGlow();
});
Here's a more advanced one:
$(document).ready(function() {
$('.glow-me').addGlow({
radius: 20,
textColor: '#ff0',
haloColor: '#ffa',
duration: 200
});
});
Custom Options
The following options can be used:
textColor: Which color the text should glow.haloColor: The halo color (in supported browsers).radius: Controls the size of the halo (in supported browsers).duration: The speed of the glowing effect.
Requirements
- jQuery
- the jQuery color plugin (bundled in
srcdirectory)
TODO
- Add a
delayoption
(c) Copyright 2009 Pat Nakajima, released under MIT License.







