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

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

網(wǎng)頁(yè)特效:漸變文本

<HEAD>
  <TITLE>Faded Text</TITLE>
  </HEAD>
  <body bgcolor="ffffff">
  <script>
  <!-- Hide the script from old browsers --
  function MakeArray(n){
   this.length=n;
   for(var i=1; i<=n; i++) this[i]=i-1;
   return this
  }
  hex=new MakeArray(16);
  hex[11]="A";
  hex[12]="B";
  hex[13]="C";
  hex[14]="D";
  hex[15]="E";
  hex[16]="F";
  function ToHex(x){
   // Changes a int to hex (in the range 0 to 255)
   var high=x/16;
   var s=high+"";
   //1
   s=s.substring(0,2);
   //2 the combination of these are the same as the trunc function
   high=parseInt(s,10);
   //3
   var left=hex[high+1];
   // left part of the hex-value
   var low=x-high*16;
   // calculate the rest of the values
   s=low+"";
   //1
   s=s.substring(0,2);
   //2 the combination of these are the same as the trunc function
   low=parseInt(s,10);
   //3
   var right=hex[low+1];
   // right part of the hex-value
   var string=left+""+right;
   // add the high and low together
   return string;
  }
  function fadein(text){
   text=text.substring(3,text.length-4);
   // gets rid of the HTML-comment-tags
   color_d1=255;
   color_d1b=255;
   color_d1c=255;
   // any value in ‘begin‘ 0 to 255
   mul=color_d1/text.length;
   for(i=0;i<text.length;i++){
    color_d1=mul*i;
    color_d1b=255-mul*i;
    color_d1c=255*Math.sin(i/(text.length/3));
    // some other things you can try>> "=255-mul*i" to fade out, "=mul*i" to fade in, or try "255*Math.sin(i/(text.length/3))"
    color_h1=ToHex(color_d1);
    color_d2=mul*i;
    color_h2=ToHex(color_d2);
    //1b
    color_h1b=ToHex(color_d1b);
    color_d2b=mul*i;
    color_h2b=ToHex(color_d2b);
    //1c
    color_h1c=ToHex(color_d1c);
    color_d2c=mul*i;
    color_h2c=ToHex(color_d2c);
    document.write("<FONT COLOR=‘#FF"+color_h1+color_h2+"‘>"+text.substring(i,i+1)+‘</FONT>‘);
   }
   document.write(‘<p>‘);
   for(i=0;i<text.length;i++){
    color_d1=mul*i;
    color_d1b=255-mul*i;
    color_d1c=255*Math.sin(i/(text.length/3));
    // some other things you can try>> "=255-mul*i" to fade out, "=mul*i" to fade in, or try "255*Math.sin(i/(text.length/3))"
    color_h1=ToHex(color_d1);
    color_d2=mul*i;
    color_h2=ToHex(color_d2);
    //1b
    color_h1b=ToHex(color_d1b);
    color_d2b=mul*i;
    color_h2b=ToHex(color_d2b);
    //1c
    color_h1c=ToHex(color_d1c);
    color_d2c=mul*i;
    color_h2c=ToHex(color_d2c);
    document.write("<FONT COLOR=‘#FF"+color_h1c+color_h2c+"‘>"+text.substring(i,i+1)+‘</FONT>‘);
   }
   document.write(‘<p>‘);
   for(i=0;i<text.length;i++){
    color_d1=mul*i;
    color_d1b=255-mul*i;
    color_d1c=255*Math.sin(i/(text.length/3));
    // some other things you can try>> "=255-mul*i" to fade out, "=mul*i" to fade in, or try "255*Math.sin(i/(text.length/3))"
    color_h1=ToHex(color_d1);
    color_d2=mul*i;
    color_h2=ToHex(color_d2);
    //1b
    color_h1b=ToHex(color_d1b);
    color_d2b=mul*i;
    color_h2b=ToHex(color_d2b);
    //1c
    color_h1c=ToHex(color_d1c);
    color_d2c=mul*i;
    color_h2c=ToHex(color_d2c);
    document.write("<FONT COLOR=‘#FF"+color_h1b+color_h2b+"‘>"+text.substring(i,i+1)+‘</FONT>‘);
   }
  }
  // --End Hiding Here -->
  </script>
  <center><font size=7>漸 變 文 本</font>
  <hr width=80%>
  <script LANGUAGE="Javascript">
  <!--
  {
   fadein("-->這是一個(gè)漸變文本的例子.<!__");
  }
  //-->
  </script>
  </center>
  <!-- HINT--Don‘t forget to add this argument to your BODY tag:  onLoad="ticker()" --></body></html>
文章搜索
軟件水平考試欄目導(dǎo)航
版權(quán)聲明:如果軟件水平考試網(wǎng)所轉(zhuǎn)載內(nèi)容不慎侵犯了您的權(quán)益,請(qǐng)與我們聯(lián)系800@exam8.com,我們將會(huì)及時(shí)處理。如轉(zhuǎn)載本軟件水平考試網(wǎng)內(nèi)容,請(qǐng)注明出處。
主站蜘蛛池模板: 国产a一级毛片午夜剧院 | 日韩激情视频在线 | 久久伊人中文字幕有码 | 国产精品亚洲一区二区三区久久 | 日韩骚片 | 成 人 黄 色 大 片 | 日韩最新中文字幕 | 亚洲人成网站在线观看90影院 | 亚洲欧美精品久久 | 欧美日本黄色片 | 国产午夜精品福利 | 影院亚洲| 欧美一二三区在线 | h视频在线免费观看 | 亚洲精品午夜久久aaa级久久久 | 日韩大片在线观看 | 狠狠干狠狠干 | 成人高清在线视频 | videos欧美黑白爆交 | 成年轻人网站色 免费看 | 国产成人精品日本亚洲18图 | 婷婷亚洲久悠悠色悠在线播放 | 秋霞午夜伦理片 | 成人免费看吃奶视频网站 | 国产午夜免费视频 | 亚洲精品性夜夜夜 | 久久不雅视频 | 99精品国产自在现线观看 | 日韩在线播放视频 | 在线观看 中文字幕 | 中文字幕一区二区三区5566 | 一区二区三区鲁丝不卡麻豆 | 黄色污污视频 | 伊人网综合在线观看 | 亚洲 欧美 日韩在线综合福利 | 天天弄天天操 | 一级爱爱片一级毛片-一毛 一级α一级α片免费观看网站 | 黄大色黄美女精品大毛片 | 91人前露出精品国产 | 亚洲午夜精品久久久久久抢 | 国产一区二区视频在线观看 |