Convert jquery to javascript code -


if can, please advise me how to:

  1. i need convert nice script, pure javascript without jquery.
  2. very important! selection area need keep aspect ratio.

http://www.script-tutorials.com/html5-image-crop-tool/

well, don't know why need need use html dom / mouse events instead of jquery events:

object.onmousemove

object.onmouseup

object.onmousedown

also need use inmediate function instead jquery document ready shortcut $(function(){...}):

(function(){   // ... code goes here })() 

Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -