嗨,我刚接触到jquery即时通讯使用这个插件jquery.tagcanvas.min.js来旋转图像我需要知道的是,如果你在图像上它会增加速度和变化,它可能会一直保持相同的速度它的方向是否可以使方向和速度相同? 提前致谢。 这个代码我用
if(!$('#myCanvas').tagcanvas({
textColour: '#ff0000',
outlineColour: 'transparent',
reverse: true,
depth: 0.8,
maxSpeed: 0.04,
minSpeed: 0.04,
initial: [0.04,0.04],
zoom:1
},'tags' )) {
// something went wrong, hide the canvas container
$('#myCanvasContainer').hide();
}
答案 0 :(得分:1)
使用此链接 http://www.goat1000.com/jquery.tagcanvas.js?2.0
并更改MouseMove和MouseOut功能
答案 1 :(得分:0)
添加选项minSpeed:0.8或任何所需的值