隨筆-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)  編輯  收藏

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


          網站導航:
           
          主站蜘蛛池模板: 凌海市| 五原县| 星子县| 铁岭县| 奉节县| 鄂温| 洪湖市| 商丘市| 苗栗县| 乐亭县| 南华县| 开平市| 确山县| 桦甸市| 南木林县| 内乡县| 新竹县| 全南县| 渭源县| 濉溪县| 乐都县| 大名县| 长宁区| 虞城县| 兴义市| 墨竹工卡县| 轮台县| 莆田市| 灵璧县| 丹阳市| 永春县| 三门峡市| 宁明县| 崇左市| 恩平市| 郎溪县| 军事| 从江县| 阳谷县| 兰西县| 弥勒县|