【发布时间】:2014-11-30 21:58:46
【问题描述】:
Aloha,我无法让插件工作。这是我的代码,请帮助我:
<html>
<head>
<script src="style/jquery-1.11.1.min.js"></script>
<link href="style/jquery.guillotine.css" rel="stylesheet" type="text/css">
<script src="style/jquery.guillotine.js"></script>
<div id="theparent" style="width: 80%;">
<img id="thepicture" src="http://www.iwallscreen.com/stock/ocean-wallpaper-desktop.jpg">
</div>
<script>
var picture = $('#thepicture'); // Must be already loaded or cached!
picture.guillotine({width: 400, height: 300});
$('#rotate-left-button').click(function(){
picture.guillotine('rotateLeft');
});
$('#zoom-in-button').click(function(){
picture.guillotine('zoomIn');
});
</script>
</head>
</html>
Thnaks,阿罗哈 :)
【问题讨论】:
标签: jquery html css image editor