我只知道js是基于对象的语言,所有的事件来自于浏览器,如果可以的话不是js能做到得,帮你up

解决方案 »

  1.   

    js 的功能还是很强大的, 有关自定义事件, 建议你去 http://judelib.sourceforge.net/ 看一下, 东西比较多, 需要好好研究.
      

  2.   

    看来各位是会错意了,我想问的是SVG中是否有自定义事件的结构。不过问完了再一想,呵呵,SVG的本意是什么?肯定是图象的显示咯!只不过看到可以在其中插入js用于图象的交互,又联想到flash,才有此一问,不知道哪位大侠能根据自己所掌握的情况给我一个痛快呢?(如果没有,我会很失望,因为IE5.0中的HTC实在是不爽)
      

  3.   

    I am not sure if you can create custom events, but if you are using Adobe SVG Viewer, they added a bunch of interesting stuffs, like, their own scripting engine, server-side (XML) supporthere are two links which might be helpful:http://www.xml.com/pub/a/2002/07/03/adobesvg.htmlhttp://www.protocol7.com/svg-wiki/