making a rotating or swing effect with scriptaculous shake?

风流意气都作罢 提交于 2019-12-13 06:29:13

问题


I am trying to have an effect when moused over, the item does not shake from side to side, but slides sort of like a clock pendulum rotating from 180-90 degreeds (or whatever, I can't remember the exact numbers right now). Is this possible with scriptaculous or another js library?


回答1:


I found a library for JQuery that does what I want perfectly:

http://www.zachstronaut.com/posts/2009/08/07/jquery-animate-css-rotate-scale.html



来源:https://stackoverflow.com/questions/2035995/making-a-rotating-or-swing-effect-with-scriptaculous-shake

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!