网页特效:漂亮的导航页面

网页特效:漂亮的导航页面,第1张

网页特效:漂亮的导航页面,第2张

考试大计算机软考站整理:http://www.exmada.com/soft

  本特效共分3步:

  1.在中加入:
  
  <script language=javascript>
  var percent = new Number(0);
  function skipmain() {
   dopgb();
  }
  function dopgb() {
   var pgb = document.all.pgbdiv.style;
   var timeoutID = setTimeout("dopgb()",100);
  if (pgb.pixelWidth < 230) pgb.pixelWidth += 5;
   percent = parseInt(100 * (pgb.pixelWidth / 230) + 1) + 1;
   if (percent > 100) percent = 100;
   document.all.perdiv.innerHTML="

" + percent.toString(10) + " %

"
   if (pgb.pixelWidth >= 230) {
   clearTimeout(timeoutID);
   window.navigate("http://www.softii.com/");
   return;
   }
  }
  </script>

  2.将 onload=skipmain() 插入到中

  例如:

  3.在中间加入:

  

  cellSpacing=0 height=10
  style="BORDER-COLLAPSE: collapse; MARGIN: 10px 0px 0px" width=230
  name="pgb_container1">
  
  
  

  
  style="BACKGROUND-COLOR: #65a1ca; HEIGHT: 10px; MARGIN: 0px; TEXT-ALIGN: center; WIDTH: 0px"
  border="0">

  


  


  

  style="MARGIN-BOTTOM: 0px; MARGIN-: 0px">0 %


  


  


  

位律师回复
DABAN RP主题是一个优秀的主题,极致后台体验,无插件,集成会员系统
白度搜_经验知识百科全书 » 网页特效:漂亮的导航页面

0条评论

发表评论

提供最优质的资源集合

立即查看 了解详情