jQuery图片模糊插件crossfade.js演示

JavaScript

$(function(){
    $('.crossfade').crossfade({
        start: 'img/01.jpg',
        end: 'img/01-blur.jpg',
        threshold: 0.3
    });
});

HTML

<div class="banner crossfade">
</div>

CSS

.banner {
    position: relative;
    height: 500px;
}

dowebok.com 说 明 下 载