the fade anything technique

[problem]

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

[/problem]

[solution]

Well cool “Fade Anything Technique”!

Really simple implementation, just copy fade anything>%20fade%20anything%20fat.js%20< 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.

[/solution]

[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>

[/example]

[reference]

Check out the article hosted by axentric, written by Adam Michela

It was inspired by 37 signals

[/reference]

If you have found my website useful, please consider buying me a coffee below 😉

Leave a Reply

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