Home > Web Front-end > JS Tutorial > jquery simple drag effect implementation principle and example_jquery

jquery simple drag effect implementation principle and example_jquery

WBOY
Release: 2016-05-16 17:27:58
Original
1056 people have browsed it
Copy code The code is as follows:




Example of simple dragging principle
< ;style type="text/css">
#drag{width:400px;height:300px;background:url(http://upload.yxgz.cn/uploadfile/2009/0513/20090513052611873.jpg); cursor:move;position:absolute;top:100px;left:100px;border:solid 1px #ccc;}
h2{color:#fff;background: none repeat scroll 0 0 rgba(16, 90, 31, 0.7 );color:#FFFFFF;height:40px;line-height:40px;margin:0;}











Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template