|
Fading Animation Java Script
|
|
05-02-2010, 05:44 AM
Post: #1
|
|||
|
|||
|
Fading Animation Java Script
This small tut is about how animating your image/background to fade when you place your mouse over it.
First download javascripts.zip that are attached to this post. Extract that file and and upload those files onto your server where you can locate them. Open up your .html file and copy/paste the following text in between your <head></head> tag : Code: <script type="text/javascript" src="LINKTOYOURSCRIPT/bgmod.js"></script>Code: div.fadehover {Code: <div class="fadehover">So basically, Class "a" is the original image, class "b" is the image you want the animation to fade into. Keep in mind, if your using a transparent image then the Background image or "faded" image will be visible even when your mouse isn't over it. That would be everything. There's a fine line between genius and insanity. I have erased this line. Oscar Levant There's a fine line between an administrator and black hat hacker. I have erased this line. Dr DEBCOL |
|||
|
« Next Oldest | Next Newest »
|





