页面加载loading效果
<style> #loading{ width:150px; height:25px; border:1px solid #000; border-top:none; background-color:#FFC; position:absolute; top:0px; left:50%; margin-left:-75px; text-align:center; line-height:25px; font-size:12px; font-weight:bold; color:#F00; } </style> <div id="loading">…页面加载中…</div> <script> $(function(){ $('#loading').fadeOut(); }) </script>