Skip to content

hmendes00/hmrotate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

HMRotate

Rotate html objects using jquery

how to use:

//HTML

<div id="myDiv"></div>

//JAVASCRIPT

$("#myDiv").hmRotate();

//CSS

.hmrotate-api-rotate-symbol{
    background-image: url('http://www.draw4free.com/help/icons/rotate.png'); //add your custom image here
}

P.S: You can also call it with options.. e.g:

$("#myDiv").hmRotate({align:'left'}); //also can be right and center

$("myDiv").hmRotate({updatableposition:true}); //default false. This can be used when the object #myDiv also uses draggable jquery.

Sample Online:

http://jsfiddle.net/8FmRd/873/

About

Rotate objects using js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published