Home  >  Article  >  Web Front-end  >  Three ways to implement jQuery to move controls left and right_jquery

Three ways to implement jQuery to move controls left and right_jquery

WBOY
WBOYOriginal
2016-05-16 17:23:181147browse

Method 1
【Note】You need to set the CSS position property of the control to relative or absolute.

Copy code The code is as follows:







Method 3




Copy code


The code is as follows:


" -//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



Untitled Document


< /head>

















Rendering

Statement:
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