开发者

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
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜