This article mainly introduces jQuery's implementation of a sliding window effect that senses mouse changes on the Microsoft homepage, and simple implementation of animation effects based on jQuery's response to mouse events, which is very simple and practical, for more information about jQuery, see the following example. Share it with you for your reference. The details are as follows:
This is a jQuery sliding window that senses mouse changes on the Microsoft homepage. After the mouse is placed, the window will be stretched to the left. After the mouse is removed, it will be restored to its original shape, which was found on the Microsoft official website, I looked at the code and thought it was easy to buckle it and did not dare to enjoy it exclusively.
The running effect is as follows:
The Online Demo address is as follows:
Http://demo.jb51.net/js/2015/jquery-f-microsoft-web-nav-demo/
The Code is as follows:
JQuery is a sliding window that senses mouse changes on the Microsoft homepage.