Basit bir jcrop
örneğim var ve seçimin nasıl taşınacağını anlayamıyorum. JQuery kütüphanesi olabileceğini düşündüm ama v1.3.2 kullanıyorum, bu demo kullanıyor. Başka bir sitede jcrop
kullandım ve her şey hazırladığımda iyi çalışıyor. allowMove
seçeneğini true
olarak ayarlamayı denedim, ancak yine de çalışmıyor. Burada bir şey mi eksik?JCrop - Seçimi taşıyamam
<html>
<head>
<script src="./jquery-1.3.2.js" type="text/javascript"></script>
<script src="./jquery.Jcrop.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
//alert('fda');
//SET JCROP OPTIONS
jcrop_api = $.Jcrop('#cropPhoto');
jcrop_api.setOptions({ allowMove: true });
jcrop_api.setOptions({ allowResize: false });
jcrop_api.setSelect([0, 0, 200, 200]);
});
</script>
</head>
<body>
<img id="cropPhoto" src="http://www.townattorneygeneral.com/images/CarlPerson019.jpg" alt="randomimage" style="border:1px solid #000000;" />
</body>
</html>
Çok teşekkürler ... Tam olarak yoktu ama css dosyamda hata buldum :) –
Hala bugün css: D'yi eklemeyi unutmayın. Teşekkür ederim. – Ganbin