--- In [email protected], "xiaoshun_yu" <[EMAIL PROTECTED]>
wrote:

>     //created a svg rect£¬then I want to assign a function to
>     //the onmouseover attribute 
>     rect.setAttribute("onmousemove", ss());

  rect.addEventListener(
    'mouseover',
    function (evt) { ss(); },
    false
  );
should do with Adobe SVG viewer and with Opera and Mozilla.


>     var text = svgdoc.createelment("text");
>     //then I don't know how to assign the content of the text node.

   var text = svgdoc.createElementNS('http://www.w3.org/2000/svg',
'text');
   text.appendChild(svgdoc.createTextNode('Contents goes here.'));





-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to