开发者

Giving the Cursor a Movement Speed

开发者 https://www.devze.com 2023-03-06 19:51 出处:网络
i was wondering, if it is possible, with jquery, to give the cursor a speed so that it moves in one direction if the user isn\'t开发者_Go百科 using the mouse?You can\'t control the mouse cursor\'s pos

i was wondering, if it is possible, with jquery, to give the cursor a speed so that it moves in one direction if the user isn't开发者_Go百科 using the mouse?


You can't control the mouse cursor's position from Javascript.


Though you can't move the mouse cursor, you can move the elements on your page, so it looks like the mouse cursor is moving...just a trick :)

I learned from this question Web browser: Hide mouse cursor that you can hide the mouse cursor, so I'm wondering that maybe you can hide it, then emulate a mouse cursor by your self...though it must be a huge project..

0

精彩评论

暂无评论...
验证码 换一张
取 消