隨筆-46  評論-64  文章-2  trackbacks-0
          < link?id = " css " ?rel = StyleSheet?type = " text/css " ?href = " ./button.css " ? />

          < script?type = " text/javascript " >
          ?
          var ?cssArray? = ? new ?Array( " button.css " , " button1.css " , " button2.css " , " button3.css " , " button4.css " , " button5.css " , " button6.css " );
          ?
          var ?index? = ? 0 ;
          ?
          function ?changeCssFile()
          ?
          {
          ??
          var ?css? = ?document.getElementById( " css " );
          ??index
          ++ ;
          ??
          if (index < cssArray.length)
          ??
          {
          ???css.href?
          = ?cssArray[index];
          ??}

          ??
          else
          ??
          {
          ???index?
          = 0 ;
          ???css.href?
          = ?cssArray[index];
          ??}

          ?}

          </ script >

          ? < a? class ="button" ?href ="#" ?onclick ="changeCssFile()" >
          ??
          < span? id ="buttonText" > Change?another?style </ span >
          ?
          </ a >
          posted on 2008-09-25 12:26 jht 閱讀(770) 評論(0)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 内丘县| 江城| 保定市| 稷山县| 平顶山市| 和龙市| 宜昌市| 黄平县| 北京市| 思茅市| 郸城县| 资溪县| 凤阳县| 金塔县| 利津县| 文安县| 达孜县| 社旗县| 凤冈县| 漳州市| 洛川县| 东阳市| 新兴县| 海晏县| 松原市| 漳州市| 石城县| 邻水| 赫章县| 金昌市| 时尚| 玉屏| 葵青区| 大同县| 鸡东县| 平定县| 镇原县| 双流县| 民权县| 彰化市| 华蓥市|