开发者

Implement Jcrop with Jquery Ui dialog box

开发者 https://www.devze.com 2023-01-05 17:26 出处:网络
I am trying to crop an image using Jcrop, I want this functionality in Jquery UI dialog box. I tried as su开发者_开发百科ggested but its not working at all. Please Help.

I am trying to crop an image using Jcrop, I want this functionality in Jquery UI dialog box. I tried as su开发者_开发百科ggested but its not working at all. Please Help. Thanks


Image should be visible when you call Jcrop on it, but it's not cause jQueryUI dialog is not visible.

Here's the workaround I've used.

$("#dialog-selector" ).dialog({
  open: function(event, ui) { $('#cropbox').Jcrop(); }
});
0

精彩评论

暂无评论...
验证码 换一张
取 消