HTML5/CSS3鼠标滑过图片滤镜动画效果,包括灰色变正常,放大图片
JavaScript Code
- <script type="text/javascript">
- $(function(){
- $('.row1').adipoli({
- 'startEffect' : 'normal',
- 'hoverEffect' : 'popout'
- });
- $('.row2').adipoli({
- 'startEffect' : 'overlay',
- 'hoverEffect' : 'sliceDown'
- });
- $('.row3').adipoli({
- 'startEffect' : 'transparent',
- 'hoverEffect' : 'boxRandom'
- });
- $('.row4').adipoli({
- 'startEffect' : 'overlay',
- 'hoverEffect' : 'foldLeft'
- });
- $('.row5').adipoli({
- 'startEffect' : 'transparent',
- 'hoverEffect' : 'boxRainGrowReverse'
- });
- $('.row6').adipoli({
- 'startEffect' : 'grayscale',
- 'hoverEffect' : 'normal'
- });
- $('#adipoli-download').fadeTo('slow',1);
- });
- </script>
XML/HTML Code
- <div class="effect-container">
- <img class="img-style row1" src="img/gallery-images/1_1.png"/>
- <img class="img-style row1" src="img/gallery-images/1_2.png"/>
- </div>
原文地址:http://www.freejs.net/article_jquerytupiantexiao_392.html