HTML代码:
<div id="outerdiv">
<div>
<img id="bigimg" src="" />
</div>
</div>
JS代码:
<script>
$(function(){
$('#uploadImagefileLists').on('click', '.imgWrap img', function(){
$('#outerdiv').unbind("click");
$('#outerdiv').append(
'<div id="imgButtons" style="padding-top:5px;">'
+'<input type="button" value="放大" οnclick="imgToSize(50)"> '
+'<input type="button" value="缩小" οnclick="imgToSize(-50)"> '
+'<input type="button" value="向左旋转45°" id=&#