xuchunyang преди 8 години
родител
ревизия
5b97623bfb
променени са 1 файла, в които са добавени 9 реда и са изтрити 3 реда
  1. 9 3
      src/main/webapp/photo-set.html

+ 9 - 3
src/main/webapp/photo-set.html

@ -262,12 +262,18 @@ $(function (){
262 262
			$('#largeImage').attr("style","");
263 263
	  		$('#middleImage').attr("style","");
264 264
	  		$('#smallImage').attr("style","");
265
		     setTimeout(function(){
265
		   /*  setInterval(function(){
266 266
		     	cutImage($(".jcrop_w>img"))
267
		     }, 30);
267
		    },1000); */
268
		   // cutImage($(".jcrop_w>img"))
269
		    //window.clearInterval(cutImage($(".jcrop_w>img")));
268 270
		});
269 271
	}
270

272
	
273
	$('#headImage').load(function(){
274
	   cutImage($(".jcrop_w>img"));
275
	});
276
	
271 277
    //保存
272 278
	$("#saveImage").on("click",function(){
273 279