如何在jquery中显示Foldleft和灰度效果 [英] How to show Foldleft and grayscale effect in jquery

查看:61
本文介绍了如何在jquery中显示Foldleft和灰度效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将mouseLeft和灰度效果鼠标移到图像上,我找到了代码



I want the foldLeft and grayscale effect on mouseover to an image ,i find the code

<script src="Adipoli-master/jquery.adipoli.js"></script>
http://cube3x.com/adipoli-jquery-image-hover-plugin/







$('#image1').adipoli({
                  'startEffect': 'grayscale',
                  'hoverEffect': 'fold'
              });



上面的代码正常工作,但我想在鼠标离开图像时保留悬停效果。


the code above is working but i want reserve the hover effect when mouse leave the image.

http://codecanyon.net/item/picanim-jquery-image-hover-effect-pulgin/full_screen_preview/2835834

此链接具有该效果,但它无法在IE中工作

this link has that effect but its not working in IE

推荐答案

('#image1')。adipoli({
'startEffect':'灰度',
'hoverEffect':'fold'
});
('#image1').adipoli({ 'startEffect': 'grayscale', 'hoverEffect': 'fold' });



上面的代码正常工作,但我想在鼠标离开图像时保留悬停效果。


the code above is working but i want reserve the hover effect when mouse leave the image.

http://codecanyon.net/item/picanim-jquery-image-hover-effect-pulgin/full_screen_preview/2835834

此链接具有该效果,但它无法在IE中工作

this link has that effect but its not working in IE


这篇关于如何在jquery中显示Foldleft和灰度效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆