5 ms·
NeatShow.js : A jQuery plugin to fade in images beautifully on your website
- JensRantil 13y agoWhy not just use CSS3 animation?
- jffry 13y agoDOWNLOAD neatshow.js 1,335 bytes Could you find it in your heart to add two more bytes somewhere?
- Kiro 13y agoThe fade is lagging for me (Macbook Pro, Chrome).
- splatzone 13y agoNice work :)
- venticco 13y agoWhy no CSS transitions?
- philliphaydon 13y agoDoes this load in only when they are visible in the viewable area, or do they fade in everywhere?
- marutib 13y agojQuery lazy load does the same thing and has been around for long. http://jquery.eisbehr.de/lazy/index.php?c=effects http://jquery.eisbehr.de/lazy/index.php?c=effects
- 4lun 13y agoLazy load waits until the images are visible (or just about to be) in the viewport before loading the actual image, this doesn't appear to do that.
- philliphaydon 13y agoIn that case Lazy load is better IMO.
- some1else 13y agoimg { opacity: 0; transition: opacity .2s; }; img.loaded { opacity: 1; }; $(function(){ $('img').load(function(){this.addClass('loaded')}) });
- rsiqueira 13y agoIt works with $(this).addClass instead of this.addClass: $('img').load(function(){ $(this).addClass('loaded')});