Coder Profile - Show off your skills, get a coder profile.
 
 
 
The Author
VBAssassin
Scott Thompson
Send A Message
Rating
Not
Rated
Please login to rate source codes.

Click here to register a free account with us.
General Details
JavaScript
Posted 92 Days Ago
317 Views
Received 0 Ratings
More Codes By This Author
Slime Wars Game v1
Pagination Class
Template Class (no evals...
Weighted Picking of URLs...
Easily make anything fade...
Articles By This Author
[PHP] - Lets kill the com...
How to use Memcache on Wi...
PHP Sessions = Member Dat...
Speed Up Delivery of your...
AJAX - When to use it?

Easily make anything fade in and out of transparency


Description
Adding a rel='hover_effect' effect to any HTML tags will turn the tag to a 0.5 opacity and on mouse over it will fade it quickly to full opacity, on mouse out it will fade back to 0.5.

If javascript is disabled, the html tags with rel='hover_effect' will simply do nothing. So it wont cause any problems for people with JS disabled.
Technical
Requires the prototype and scriptaculous frameworks.

Example of use:

<img src='image.png' rel='hover_effect' />

Note: Does not work brilliantly in IE due to IE's rubbish effects engine... opera, firefox etc do it very smoothly :-)

Install: Just add the code to the <head> part of the page inside <script> tags.
Source Code
Comments
Please login to post comments.
Page 1 of 1
More "JavaScript" Source Codes By This Author
Recently Posted "JavaScript" Source Codes
Recently Rated "JavaScript" Source Codes
 
 
Latest News About Coder Profile
Coder Profile Poll
What would you rate the design of Coder Profile?

9 to 10
7 to 8
5 to 6
3 to 4
1 to 2


please login to cast your vote
and see the results of this poll
Latest Coder Profile Changes
Coder Profile was last updated
5 Days Ago
Official Blog :: Make A Donation :: Credits :: Contact Me
Terms & Conditions :: Privacy Policy :: Documents :: Wallpapers
Version 1.46.00
Copyright © 2007 - 2008, Scott Thompson, All Rights Reserved