如何使Gif工作点击 [英] How Do I Make A Gif Work On Click

查看:52
本文介绍了如何使Gif工作点击的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,我有这个网站,其中包含图片gif等等,我希望GIF在我点击它们时开始移动,并在我再次做的时候停止并感谢:D

解决方案

尝试一下 - 教程:播放和停止GIF [ ^ ]。



也可以试试freezeframe。 js - jQuery插件自动暂停GIF并重新启动鼠标悬停动画 [ ^ ]。

hey , i have this website that containts pictures gif and so , i want the gifs to start moving when i click on them and to stop when i do again and thanks :D

解决方案

Give this a try - Tutorial: Play and Stop GIFs[^].

Also try freezeframe.js - A jQuery Plugin To Automatically Pause GIFs And Restart Animating On Mouse Hover[^].


这篇关于如何使Gif工作点击的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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