Mouse move on element

2019-02-24 04:22发布

问题:

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

Thanks

回答1:

This is not possible.

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 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.



回答2:

I think you can redraw the whole content of your web page so that the element you want get under the cursor. “ψ(`∇´)ψ

Another solution would be to move the window so that it gets where you want “ψ(`∇´)ψ



回答3:

Javascript isn't able to move the mouse cursor -- it would be annoying as all get out if it could do this.



回答4:

If you're wanting to physically move the mouse for the user, this can not be done with Javascript or any other typical web technology.

I'd say I'm sorry, but I'm not. That's one of the worst possible things you could do to a user.