کدهای مربوطه
کدهای بخش استایل
#Idea .item_success{ display:none;}
کد اسکریپت
setTimeout(function(){ var count = $("#comment-add-form").children().length; if(coutn==0){$(".item_success").show().text("نظر با موفقیت ارسال شد").css( {"position":"fixed", "top":"12%","right":"0%", "left":"0%","padding":"25px", "z-index":"1000", "background-color":"green", "font-size":"20px", "font-family":"inherit", "color":"#222", "text-align":"center"}); } },1000); setTimeout(function(){ $(".item_success").hide(); },10000);
برچسب : نویسنده : f1coder0 بازدید : 122