img-area-select-jquery

I want to use imgareaselect in jquery [closed]

為{幸葍}努か 提交于 2019-12-24 19:27:13
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 5 years ago . I m new in jquery.and my new task is "imgareaselect in jquery". I am refering THIS. but i am lacking somewhere to understand the logic. pls help me to create "imgareaselect" Now my coading is: <!DOCTYPE html> <html> <head> <script src="http://odyniec.net/projects/imgareaselect

Removing jquery imgareaselect plugin from element

喜你入骨 提交于 2019-12-12 10:29:45
问题 So im using this neat jquery plugin http://odyniec.net/projects/imgareaselect/ It works fine, but i'm firing it with jquery ui callback function (dialog), and i need to remove the selection after dialog closes. function initialize_selection() { $('#image_area').imgAreaSelect({ x1: 10, y1: 10, x2: $('#image_area').width()-10, y2: $('#image_area').height()-10 , fadeSpeed: 400, handles: true}); } $(function() { $('#image_edit').click(function(){ $('#edit_image_dialog').load('actions.php?action