SVG_style_script

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、

时间: 2024-09-30 03:32:00

SVG_style_script的相关文章