Hi All,
I have two problems
in the first case, I have two files, main.js and canvas.svg
in canvas.svg there is only <svg></svg> and all the content is
generated from within main.js
in main.js, I write like this:
this.test(){
//created a svg rect£¬then I want to assign a function to
//the onmouseover attribute
rect.setAttribute("onmousemove", ss());
//the problem is here, I don't know how to reference ss(), the
way
//like this does not work. Does anyone know how to write this?
}
this.ss(){
alert("sdf");
}
and the other case is like
this.test(){
var text = svgdoc.createelment("text");
//then I don't know how to assign the content of the text node.
}
Thank you very much in advance.
Yu Xiaoshun
-----
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/