黄色在线观看视频-黄色在线免费看-黄色在线视频免费-黄色在线视频免费看-免费啪啪网-免费啪啪网站

首頁 考試吧論壇 Exam8視線 考試商城 網絡課程 模擬考試 考友錄 實用文檔 求職招聘 論文下載
2011中考 | 2011高考 | 2012考研 | 考研培訓 | 在職研 | 自學考試 | 成人高考 | 法律碩士 | MBA考試
MPA考試 | 中科院
四六級 | 職稱英語 | 商務英語 | 公共英語 | 托福 | 雅思 | 專四專八 | 口譯筆譯 | 博思 | GRE GMAT
新概念英語 | 成人英語三級 | 申碩英語 | 攻碩英語 | 職稱日語 | 日語學習 | 法語 | 德語 | 韓語
計算機等級考試 | 軟件水平考試 | 職稱計算機 | 微軟認證 | 思科認證 | Oracle認證 | Linux認證
華為認證 | Java認證
公務員 | 報關員 | 銀行從業資格 | 證券從業資格 | 期貨從業資格 | 司法考試 | 法律顧問 | 導游資格
報檢員 | 教師資格 | 社會工作者 | 外銷員 | 國際商務師 | 跟單員 | 單證員 | 物流師 | 價格鑒證師
人力資源 | 管理咨詢師考試 | 秘書資格 | 心理咨詢師考試 | 出版專業資格 | 廣告師職業水平
駕駛員 | 網絡編輯
衛生資格 | 執業醫師 | 執業藥師 | 執業護士
會計從業資格考試會計證) | 經濟師 | 會計職稱 | 注冊會計師 | 審計師 | 注冊稅務師
注冊資產評估師 | 高級會計師 | ACCA | 統計師 | 精算師 | 理財規劃師 | 國際內審師
一級建造師 | 二級建造師 | 造價工程師 | 造價員 | 咨詢工程師 | 監理工程師 | 安全工程師
質量工程師 | 物業管理師 | 招標師 | 結構工程師 | 建筑師 | 房地產估價師 | 土地估價師 | 巖土師
設備監理師 | 房地產經紀人 | 投資項目管理師 | 土地登記代理人 | 環境影響評價師 | 環保工程師
城市規劃師 | 公路監理師 | 公路造價師 | 安全評價師 | 電氣工程師 | 注冊測繪師 | 注冊計量師
繽紛校園 | 實用文檔 | 英語學習 | 作文大全 | 求職招聘 | 論文下載 | 訪談 | 游戲
您現在的位置: 考試吧(Exam8.com) > 軟件水平考試 > 復習資料 > 網頁制作 > 正文

網頁特效:很Cool頁面轉換效果

  腳本說明:

  第一步:把如下代碼加入<body>區域中

  <script LANGUAGE="Javascript">
  <!--
  // 過渡的速度
  var pause=50
  var widthstep=10
  // 效果的色彩
  var curtaincolor1="FFFF00"
  // 右
  var curtaincolor2="EE8800"
  // 下
  var curtaincolor3="EE8800"
  // 左
  var curtaincolor4="FFFF00"
  var screenheight
  var screenwidth
  var heightstep
  var maxmove=0
  var timer
  var url
  var curtaincontent1=""
  var curtaincontent2=""
  var curtaincontent3=""
  var curtaincontent4=""
  function init() {
   if (document.all) {
    screenwidth=document.body.clientWidth
    screenheight=document.body.clientHeight
    curtaincontent1="<table cellpadding=0 cellspacing=0 width=‘"+screenwidth+"‘ height=‘"+screenheight+"‘><tr><td bgcolor=‘"+curtaincolor1+"‘> </td></tr></table>"
    curtaincontent2="<table cellpadding=0 cellspacing=0 width=‘"+screenwidth+"‘ height=‘"+screenheight+"‘><tr><td bgcolor=‘"+curtaincolor2+"‘> </td></tr></table>"
    curtaincontent3="<table cellpadding=0 cellspacing=0 width=‘"+screenwidth+"‘ height=‘"+screenheight+"‘><tr><td bgcolor=‘"+curtaincolor3+"‘> </td></tr></table>"
    curtaincontent4="<table cellpadding=0 cellspacing=0 width=‘"+screenwidth+"‘ height=‘"+screenheight+"‘><tr><td bgcolor=‘"+curtaincolor4+"‘> </td></tr></table>"
    curtain1.innerHTML=curtaincontent1
    curtain2.innerHTML=curtaincontent2
    curtain3.innerHTML=curtaincontent3
    curtain4.innerHTML=curtaincontent4
    heightstep=Math.round(widthstep/screenwidth*screenheight)
   }
   if (document.layers) {
    screenwidth=window.innerWidth
    screenheight=window.innerHeight
    curtaincontent1="<table cellpadding=0 cellspacing=0 width=‘"+screenwidth+"‘ height=‘"+screenheight+"‘><tr><td bgcolor=‘"+curtaincolor1+"‘>&nbsp;</td></tr></table>"
    curtaincontent2="<table cellpadding=0 cellspacing=0 width=‘"+screenwidth+"‘ height=‘"+screenheight+"‘><tr><td bgcolor=‘"+curtaincolor2+"‘>&nbsp;</td></tr></table>"
    curtaincontent3="<table cellpadding=0 cellspacing=0 width=‘"+screenwidth+"‘ height=‘"+screenheight+"‘><tr><td bgcolor=‘"+curtaincolor3+"‘>&nbsp;</td></tr></table>"
    curtaincontent4="<table cellpadding=0 cellspacing=0 width=‘"+screenwidth+"‘ height=‘"+screenheight+"‘><tr><td bgcolor=‘"+curtaincolor4+"‘>&nbsp;</td></tr></table>"
    document.curtain1.document.write(curtaincontent1)
    document.curtain1.document.close()
    document.curtain2.document.write(curtaincontent2)
    document.curtain2.document.close()
    document.curtain3.document.write(curtaincontent3)
    document.curtain3.document.close()
    document.curtain4.document.write(curtaincontent4)
    document.curtain4.document.close()
    heightstep=Math.round(widthstep/screenwidth*screenheight)
   }
  }
  function openpage(thisurl) {
   url=thisurl
   if (document.all) {
    document.all.curtain1.style.posTop=-screenheight
    document.all.curtain1.style.posLeft=0
    document.all.curtain2.style.posTop=0
    document.all.curtain2.style.posLeft=screenwidth
    document.all.curtain3.style.posTop=screenheight
    document.all.curtain3.style.posLeft=0
    document.all.curtain4.style.posTop=0
    document.all.curtain4.style.posLeft=-screenwidth
    document.all.curtain1.style.visibility="VISIBLE"
    document.all.curtain2.style.visibility="VISIBLE"
    document.all.curtain3.style.visibility="VISIBLE"
    document.all.curtain4.style.visibility="VISIBLE"
    movecurtains()
   }|||   if (document.layers) {
    document.curtain1.top=-screenheight
    document.curtain1.left=0
    document.curtain2.top=0
    document.curtain2.left=screenwidth
    document.curtain3.top=screenheight
    document.curtain3.left=0
    document.curtain4.top=0
    document.curtain4.left=-screenwidth
    document.curtain1.visibility="VISIBLE"
    document.curtain2.visibility="VISIBLE"
    document.curtain3.visibility="VISIBLE"
    document.curtain4.visibility="VISIBLE"
    movecurtains()
   }
  }
  function movecurtains() {
   if (maxmove<=screenwidth/2) {
    if (document.all) {
     document.all.curtain1.style.posTop+=heightstep
     document.all.curtain2.style.posLeft-=widthstep
     document.all.curtain3.style.posTop-=heightstep
     document.all.curtain4.style.posLeft+=widthstep
    }
    if (document.layers) {
     document.curtain1.top+=heightstep
     document.curtain2.left-=widthstep
     document.curtain3.top-=heightstep
     document.curtain4.left+=widthstep
    }
    maxmove+=widthstep
    var timer=setTimeout("movecurtains()",pause)
   }
   else {
    clearTimeout()
    document.location.href=url
   }
  }
  // - End of Javascript - -->
  </script>
  <STYLE>
  .curtain {
    position:absolute;
   visibility:hidden;
  }
  </STYLE>
  <DIV ID="deletethisblock" class="redirstyle" style="position:absolute;left:10px;top:10px;color:000000;font-family:"宋體";font-size:9pt">
  <a href="javascript:openpage(‘http://www.csai.cn/‘)">看看效果吧!!</a>
  </DIV>
  <DIV ID="curtain1" class="curtain"></DIV>
  <DIV ID="curtain2" class="curtain"></DIV>
  <DIV ID="curtain3" class="curtain"></DIV>
  <DIV ID="curtain4" class="curtain"></DIV>

  第二步:把<body>中的內容改為

  <body bgcolor="#fef4d9" onLoad="init()" style="width:100%;overflow-x:hidden;overflow-y:hidden">

1 2  下一頁
文章搜索
軟件水平考試欄目導航
版權聲明:如果軟件水平考試網所轉載內容不慎侵犯了您的權益,請與我們聯系800@exam8.com,我們將會及時處理。如轉載本軟件水平考試網內容,請注明出處。
主站蜘蛛池模板: free嫩白的18性中国 | 国产精品久久久久久久9999 | 又粗又长又黄又爽视频 | 黄色片黄色片黄色片黄色片黄色片 | 99re热精品视频国产免费 | 甜性涩爱手机在线观看 | 成人免费视频一区二区三区 | 欧美成视频人免费淫片 | 一级理论片免费观看在线 | 在线播放另类 | 九九在线精品视频播放 | 国模啪啪一区二区三区 | 91在线免费公开视频 | 国产一区二区三区影院 | 好男人在线社区www在线视频一 | 污黄视频在线看 | 国产精品 视频一区 二区三区 | 国产麻豆a一级毛片爽爽影院 | 男女无遮挡毛片视频播放 | 欧美日韩一区二区三区免费不卡 | 韩国精品videosex性韩国 | 国产制服丝袜在线观看 | 日韩系列第一页 | 一区欧美 | 在线观看精品视频一区二区三区 | 久久99精品波多结衣一区 | 毛片a级三毛片免费播放 | 免费黄色a视频 | 黄色一级毛片在线观看 | 日本一区二区高清 | 超级碰碰永久免费视频播放 | 亚洲一区浅井舞香在线播放 | 被黄漫网站视频在线观看 | 国产在线精品一区二区不卡 | 最近免费2019中文字幕大全 | 国产无内制服肉丝精品视频 | 日本中文字幕在线观看视频 | 九九热视频在线播放 | 国产精品亚洲欧美动漫卡通 | 亚洲欧美精品综合中文字幕 | 一区二区三区在线 | 日本 |