码迷,mamicode.com
首页 > 其他好文 > 详细

SVG_style_script

时间:2016-02-26 14:05:45      阅读:196      评论:0      收藏:0      [点我收藏+]

标签:

1、

 1     <style type="text/css">
 2     <![CDATA[
 3     
 4         // ZC: 禁止所有 <text/>元素的选中
 5         text
 6         {
 7             -webkit-user-select: none; /* Webkit */
 8             -moz-user-select: none;    /* Firefox */
 9             -ms-user-select: none;     /* IE 10  */
10             /* Currently not supported in Opera but will be soon */
11             -o-user-select: none;
12             user-select: none;
13         }
14         svg
15         {
16             -webkit-user-select: none; /* Webkit */
17             -moz-user-select: none;    /* Firefox */
18             -ms-user-select: none;     /* IE 10  */
19             /* Currently not supported in Opera but will be soon */
20             -o-user-select: none;
21             user-select: none;
22         }
23     ]]>
24     </style>

 

 

2、

参照外部 <script/>的写法,我猜 应该是类似这样:

  <style type="text/css" xlink:href="./??.css" ></style>

 

3、

<script type="text/javascript" xlink:href="./New.js" ></script>

 

4、

 1     <script type="text/javascript" >
 2     <![CDATA[
 3     <!--
 4     // ZC: 写测试代码
 5     
 6         function AA()
 7         {
 8             alert("AA");
 9         }
10     -->
11     ]]>
12     </script>

 

5、

 

SVG_style_script

标签:

原文地址:http://www.cnblogs.com/CodeSkill/p/5220041.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!