图示

利用jQuery UI 实现图片部份截取

使用到的jquery UI有draggable,resizable

HTML
> <div style='width:732px;height:458px' id='c'>
    
<div id='quen' style='position:absolute;top:0px;left:0px;border:solid 2px blue;width:200px;height:200px'>
        
<div id='quen2' style='background:red;width:100%;height:100%'></div>
    
</div>
    
<img src='1.jpg' />
</div>
<br/><br/><br/>
<div style='position:absolute;overflow:hidden;width:200px;height:200px'>
    
<div id='e' style='position:relative;'>
        
<img src='1.jpg' />
    
</div>
</div>

相关文章: