This article is an example of the implementation of the jquery Sina Micro-blog animation effect pop-up layer code. Share to everyone for your reference. Specifically as follows:
This is a jquery implementation driven drawing of the pop-up layer, the first is to simulate Sina Weibo in the pop-up layer, and then introduced jquery, and think, add point animation effect does not know how, and then wrote a pop-up web layer effect, you click the button can see a gradual out of the pop-up can be closed, Click Off, of course, is gradually disappearing, the move according to the mouse position to calculate the absolute position of the upper-left corner of the control, after releasing the mouse to stop moving and restore opacity.
The screenshot of the running effect is as follows:
The online demo address is as follows:
http://demo.jb51.net/js/2015/jquery-f-sina-flash-style-close-able-dlg-demo/
The specific code is as follows:
<! DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 transitional//en" "Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
I hope this article will help you with your jquery programming.