$(function() { var imgOne = $("#fuDongGongGaoOne"),imgTwo = $("#fuDongGongGaoTwo"),imgThree = $("#fuDongGongGaoThree"),imgFour = $("#fuDongGongGaoFour"),imgFirstLogin = $("#FuDongGongGaoOfFirstLogin"); imgOne.draggable(); imgTwo.draggable(); imgThree.draggable(); imgFour.draggable(); imgFirstLogin.draggable(); }); function closeFuDongGongGao(divId){ $("#"+divId).addClass("bounceOutDown"); //$("#"+divId).remove(); //bounceOut //bounceOutDown //bounceOutLeft //bounceOutRight //bounceOutUp //fadeOut //fadeOutDown //fadeOutDownBig //fadeOutLeft //fadeOutLeftBig //fadeOutRight //fadeOutRightBig //fadeOutUp //fadeOutUpBig //flipOutX //flipOutY //lightSpeedOut //rotateOut //rotateOutDownLeft //rollOut //zoomOut //zoomOutDown //zoomOutLeft //zoomOutRight //zoomOutUp //slideOutDown //slideOutLeft //slideOutRight //slideOutUp } function closeFuDongGongGaoOneDay(divId){ var userId = $("#userId").val(); var gongGaoId = 0; if(divId=="fuDongGongGaoOne"){ gongGaoId=1; } if(divId=="fuDongGongGaoTwo"){ gongGaoId=2; } if(divId=="fuDongGongGaoThree"){ gongGaoId=3; } if(divId=="fuDongGongGaoFour"){ gongGaoId=4; } userBizImplDwr.closeFuDongGongGaoOneDay(userId,gongGaoId,function() { closeFuDongGongGaoOneDayCallBack(divId); }); } function closeFuDongGongGaoOneDayCallBack(divId){ $("#"+divId).addClass("bounceOutDown"); //$("#"+divId).remove(); } function closeChouJiangQuanFuDong(){ var userId = $("#userId").val(); userBizImplDwr.closeChouJiangQuanFuDong(userId,function() { closeChouJiangQuanFuDongCallBack(); }); } function closeChouJiangQuanFuDongCallBack(){ $("#chouJiangQuanFuDong").addClass("zoomOutRight"); }