the fade anything technique

Problem

You want to add something flash to your site.
A color loads, which you then want to change



Solution

Well cool “Fade Anything Technique”!

Really simple implementation, just copy fade anything and then any divs, etc with an id
of fade-xxx will fade from that color. Many more options, check out these highly recommended articles.



Example



<head>
...
<script type="text/javascript" src="/fat.js">
</head>
...
<div style="width: 600px; border:1px dashed #23932B; padding: 10px;" id="fade-23932B" class="fade-23932B">
...
</div>





Leave a Reply

Your email address will not be published. Required fields are marked *