By : JesseMacLeod Published On Friday, December 05, 2014, 15:01 In JavaScript

Quantum Fader is a powerful but quantum small (3KB) JS gallery. It transitions from one slide to another by fading. You can add pretty much anything you want in a slide: images, html, video, twitter feed, and more. Best of all, it works perfectly in Internet Explorer 6 (!) and all major browsers. It is also very flexible and can be mobile optimised extremely easily.
You can add as many galleries to one page as you want. The script gives them all a unique ID and each one fades in slightly after the previous Quantum Fader. That’s so every gallery on the page doesn’t transition at the exact same time.
The Quantum Fader runs in autoplay with pause/start buttons, and also previous/next buttons. Navigation buttons can be automatically added to the Quantum Fader by the script.
<div class="QuantumFader">
<div class="QuantumSlides">
<div class="QuantumSlide">This is my slide.</div>
<div class="QuantumSlide">This is my second slide.</div>
<img src="imagepath/image.jpg" alt="My third slide" />
</div>
</div>
Then, all you do is call the QuantumFader on the page:
<script>
$("body").QuantumFader();
</script>
Simple!
Due to the way in which the Quantum Fader works, some elements need to be reloaded when the slide fades out. For example, a YouTube video or a Facebook like button may have to be reloaded when the slide finishes fading out. If there is a way to fade slides without resetting the css “display” property, let me know (jQuery .animate(“opacity”) and .fadeTo() don’t work for me).
Prev and Next navigation buttons may not appear transparent in IE 6. This is an issue with all websites regarding IE6, and is not confined to this product only.