隨筆-46  評(píng)論-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 閱讀(777) 評(píng)論(0)  編輯  收藏

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


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 夏河县| 贵州省| 历史| 富川| 手机| 秀山| 日土县| 平武县| 井陉县| 桐庐县| 甘洛县| 昭平县| 绥阳县| 乌拉特中旗| 长岛县| 阳朔县| 藁城市| 唐海县| 南开区| 阆中市| 将乐县| 福鼎市| 定南县| 蒙城县| 靖宇县| 拉孜县| 安庆市| 黄山市| 岗巴县| 鄱阳县| 南华县| 河南省| 宁武县| 施秉县| 朝阳区| 东安县| 长海县| 文成县| 红安县| 浏阳市| 华亭县|