鼠标在元素上移动 [英] Mouse move on element

查看:116
本文介绍了鼠标在元素上移动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

页面加载结束后,如何在元素上使用jquery移动光标?

How i can move curser with jquery on an element when page loading is over?

谢谢

推荐答案

这是不可能的.

即使可能,我也不同意劫持用户的鼠标位置.如果您是作为用户对我这样做的,我会立即离开您的网站.

I also disagree with highjacking the users mouse position, even if it were possible. If you did that to me as a user I would immediately leave your site.

JavaScript是以这种方式专门设计的.想象一下当今互联网上所有糟糕的网站和漏洞利用,以及控制用户鼠标的功能,您会遇到更糟糕的体验.

JavaScript was designed this way on purpose. Imagine the internet as it is today with all the crappy sites and exploits out there, mix in the ability to control the users mouse and you have a much worse experience.

让您的用户决定要单击什么.

Let your users decided what they want to click on.

这篇关于鼠标在元素上移动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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