以文本方式查看主题

-  中文XML论坛 - 专业的XML技术讨论区  (http://bbs.xml.org.cn/index.asp)
--  『 SVG/GML/VRML/X3D/XAML 』  (http://bbs.xml.org.cn/list.asp?boardid=21)
----  svg中如何设置鼠标的形状呢?  (http://bbs.xml.org.cn/dispbbs.asp?boardid=21&rootid=&id=22522)


--  作者:tamefox
--  发布时间:9/25/2005 4:38:00 PM

--  svg中如何设置鼠标的形状呢?
如何在移动SVG中的图形元素的时候将鼠标变为手状呢?最好能给出个小例子!
紧急求助!!
--  作者:犬神狼
--  发布时间:9/25/2005 5:06:00 PM

--  
奇怪,这个问题已经有好几个人问过了怎么都没有看到有回复,我也很想知道。
楼主要是知道答案的话请知会一下啊,先谢了
--  作者:cuijie
--  发布时间:9/27/2005 8:22:00 AM

--  
因为这个问题比较简单,所有高手不屑回答!设置Style就可以了,别告诉我你不知道什么时候设置,在事件触发或则任意时候,只要你高兴就可以。什么?你不知道怎么设置Style?那看看DHTML的Style设置吧,大同小异!如果你还不会,那我也没有办法了,因为我不是高手



--  作者:dong_xuelin
--  发布时间:9/27/2005 9:23:00 AM

--  
问题越简单越容易被忽视。
好在现在是信息时代,用的时候再查也来得急。
--  作者:犬神狼
--  发布时间:9/27/2005 9:54:00 AM

--  
3楼的同学不需要这么嚣张吧,这里本来就是互相学习和探讨的地方,何必咄咄逼人呢
--  作者:L_Dalong
--  发布时间:9/27/2005 9:58:00 AM

--  
我也想知道阿,我还没有接触过html阿
--  作者:犬神狼
--  发布时间:9/27/2005 11:03:00 AM

--  
在相应的标记中加入 style="cursor:move" 能在特定部分达到修改指针的效果,具体鼠标的各种形状的参数为:
style="cursor:hand"  style="cursor:crosshair"
style="cursor:text"   style="cursor:wait"
style="cursor:move"  style="cursor:help"
style="cursor:e-resize"  style="cursor:n-resize"
style="cursor:nw-resize"  style="cursor:w-resize"
style="cursor:s-resize"   style="cursor:se-resize"
style="cursor:sw-resize"
这是在HTML里的,但是我在SVG里面没有成功过,不同的SVGView版本对指针修改的支持好象也不同。
--  作者:tamefox
--  发布时间:10/3/2005 3:53:00 PM

--  ASV3.0不支持cursor属性!
目前ASV3.0还不支持cursor属性,所以我们设置的时候不好用~希望adobe公司早些支持该功能
--  作者:L_Dalong
--  发布时间:10/3/2005 4:06:00 PM

--  
有解决方案吗?
--  作者:xmshaonian
--  发布时间:12/14/2005 10:29:00 PM

--  
目前没有
--  作者:yu_director
--  发布时间:3/23/2007 4:49:00 PM

--  
直接创建链接即可,光标的语句都不管用

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   sodipodi:modified="true">
  <g
     inkscape:label="Layer 1"
     inkscape:groupmode="layer"
     id="layer1">
    <a
       id="a3203">
      <rect
         rx="5"
         y="298.07648"
         x="171.42857"
         height="194.28572"
         width="382.85715"
         id="rect3201"
         style="opacity:1;fill:#ffecec;fill-opacity:1;fill-rule:evenodd;stroke:#ff0000;stroke-width:5.30000019;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:0;stroke-dasharray:none;stroke-dashoffset:3.36;stroke-opacity:1" />
    </a>
  </g>
</svg>


--  作者:hqs
--  发布时间:4/24/2007 10:32:00 AM

--  
这个家伙有点狂妄症,不懂就不懂,还装个牛b样
--  作者:alai7150
--  发布时间:5/10/2007 5:36:00 PM

--  
在此一叹!~
adobe已经不再支持svg了,它再也不会出更新版本的svg viewer!!!!
W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
93.750ms