jquery + imgAreaSelect,the imgAreaSelect is not above the img
i 开发者_如何学运维did the imgAreaSelect on an image that open in a popup,i dindt see the select area but when i close the popup i sew the selected area,what can be the probolme? thanks!
Set zIndex=100001
in jquery.imgareaselect.min.js
file. That should solve the problem.
Rather than editing the library, you can set the zIndex as a parameter when creating your selectable region.
$('img#pic_area').imgAreaSelect({
aspectRatio: "4:3",
[...]
zIndex: 10000
});
精彩评论