1 <script type="text/javascript">
 2 var gys=9
 3 function getCSSLink()
 4 {
 5          if (gys==0)
 6             display = "1.css";
 7         else 
 8             //样式表的名称,或者你可以加上路径
 9             display = "2.css";
10         
11         var css = '<';
12         css+='link rel="stylesheet" href='+display+' \/';
13         css+='>';
14         document.write(css);
15 }
16 window.onload=getCSSLink();
17 </script>

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-21
  • 2022-12-23
  • 2021-06-07
猜你喜欢
  • 2022-02-07
  • 2022-12-23
  • 2021-05-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
相关资源
相似解决方案