heting

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            40 隨筆 :: 9 文章 :: 45 評論 :: 0 Trackbacks
          灰置圖片
          style="filter:alpha(opacity=50);-moz-opacity:0.5;opacity:0.5;"
          發(fā)光字體樣式
          .pp1
          {
           color: white;
           filter: glow(color=yellow,strength=3);
          }
          參見http://www.24xuexi.com/tutorial/computer/web/htmlweb/css/2005-03-26/1111795200d158702.html
          圖片滾動
          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
          <html xmlns="http://www.w3.org/1999/xhtml">
          <head>
          <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
          <title>無標(biāo)題文檔</title>
          </head>

          <body>
          <DIV id="scroll_div" 
          style
          ="OVERFLOW: hidden;height:137px;WIDTH: 658px;white-space: nowrap; ">
              
          <div id="scroll_begin" style="display:inline;"><img src="image/2.jpg" width="200" height="137" border="0"><img src="image/3.jpg" width="200" height="137" border="0"><img src="image/4.jpg" width="200" height="137" border="0"><img src="image/5.jpg" width="200" height="137" border="0"></div>
              
          <div id="scroll_end" style="display:inline;">
              
          </div>
          </DIV>
          <SCRIPT>
          var speed=1
          var scroll_end = document.getElementById("scroll_end");
          var scroll_div = document.getElementById("scroll_div");
          scroll_end.innerHTML
          =scroll_begin.innerHTML
          function Marquee(){
          if(scroll_end.offsetWidth-scroll_div.scrollLeft<=0)
          scroll_div.scrollLeft
          -=scroll_begin.offsetWidth
          else{
          scroll_div.scrollLeft
          ++
          }

          }

          var MyMar=setInterval(Marquee,speed)
          scroll_div.onmouseover
          =function() {clearInterval(MyMar)}
          scroll_div.onmouseout
          =function() {MyMar=setInterval(Marquee,speed)}
          </SCRIPT>
          </body>
          </html>
          posted on 2009-01-06 17:12 賀挺 閱讀(404) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 祁连县| 微山县| 鱼台县| 阳西县| 麻城市| 宾川县| 施甸县| 小金县| 肃宁县| 莎车县| 济源市| 高青县| 东乌珠穆沁旗| 德兴市| 辽阳县| 长武县| 长乐市| 涟水县| 南川市| 抚州市| 六盘水市| 沭阳县| 武冈市| 通江县| 玉田县| 乌拉特前旗| 凤凰县| 霍城县| 卢龙县| 武乡县| 寻甸| 和静县| 寿阳县| 乃东县| 班玛县| 眉山市| 莆田市| 双鸭山市| 天镇县| 洞口县| 缙云县|