87,990
社区成员
发帖
与我相关
我的任务
分享 function shake() {
last_time = curTime;
$("#loading").attr('class','loading loading-show');
$("#shakeup").animate({ top: "10%" }, 700, function () {
$("#shakeup").animate({ top: "25%" }, 700, function () {
$("#loading").attr('class','loading');
findsound.play();
myDialog.alert('恭喜你,执行成功!');
});
});
$("#shakedown").animate({ top: "40%" }, 700, function () {
$("#shakedown").animate({ top: "25%" }, 700, function () {
});
});
sound.play();
}<script type="text/javascript">
$(document).ready(function() {
$.ajax({
type: "POST",
url: "Manager.php",
data: { "action": 'action', "Brand_ID": "Brand_ID"},
dataType: "json",
success: function(data) {
if (data.id == 1) {
alertify.alert(data.messages);
} else {
alertify.alert(data.messages);
}
}
});
});
</script>
function shake() {
last_time = curTime;
$("#loading").attr('class','loading loading-show');
$("#shakeup").animate({ top: "10%" }, 700, function () {
$("#shakeup").animate({ top: "25%" }, 700, function () {
$("#loading").attr('class','loading');
$.ajax({
type: "POST",
url: "Manager.php",
data: { "action": 'action', "Brand_ID": "Brand_ID"},
dataType: "json",
success: function(data) {
if (data.id == 1) {
findsound.play();
myDialog.alert('恭喜你,执行成功!');
} else {
alertify.alert(data.messages);
}
}
});
});
});
$("#shakedown").animate({ top: "40%" }, 700, function () {
$("#shakedown").animate({ top: "25%" }, 700, function () {
});
});
sound.play();
}