/*
* 提示框
*/
window.showTip=function(msg){
var tip='<div class="dcxx"><span class="promptMsg">msg</span></div>';
var $tip=$(tip).appendTo(window.top.document.body);
$tip.stop(true);
$tip.find('.promptMsg').html(msg);
$tip.show();
$tip.fadeIn(500).delay(2000).fadeOut(500);
window.top.setTimeout(function(){
$tip.remove();
},3000);
};
相关分类