Các bạn có codeloading nào hay cho mình xin với, forum mình chạy chậm wa, ý tưởng của mình là trong thời gian loading forum thì nó sẽ hiển thị thông báo hay 1 hình flash nào đó.
Cám ơn trước nha !!:MatCuoi:
Printable View
Các bạn có codeloading nào hay cho mình xin với, forum mình chạy chậm wa, ý tưởng của mình là trong thời gian loading forum thì nó sẽ hiển thị thông báo hay 1 hình flash nào đó.
Cám ơn trước nha !!:MatCuoi:
thay www.ketnoia2.tk bằng tên web bạn!Trích:
<script type='text/javascript'>
window.onload = detectarCarga;
function detectarCarga() {
document.getElementById("imgLOAD").style.display=" none";
document.getElementById("WholePage").style.display ="";
}
</script>
<div id="imgLOAD" style="position:fixed;top:210px;right:610px;border :0px solid gray;padding:10px; background: " align="center">
Vui lòng chờ giây lát ...<br/>
<img src="http://sonmyschool.com/data/imgs5/SonMySchool---loadingketnoia2.tk.gif" border=0><br>www.ketnoia2.tk</div>
<DIV id="WholePage" style="display:none">