Hi,
I´ve created (with xslt) a inline SVG graph as is explained in here .
So my code has a name space with 'svg' prefix:
<object id="AdobeSVG"
classid="clsid:78156a80-c6a1-4bbf-8e6a-3cd390eeb4e2"></object>
<?import namespace='svg' implementation='#AdobeSVG'?>
and I use it like that (part of my code) in my html file:
<svg:g>
<svg:rect onclick="mostrarTips()" x="95" y="340.384" width="5"
height="5" style=" fill:rgb(0,0,66);stroke:rgb(0,0,66);stroke-width:1"/>
...
</svg:g>
...
But now I need to add javascript code. I need a show a tooltip in this
"rect". But this dont work:
<script type="text/ecmascript">
funtion mostrarTips(){
....
}
</script>
or
<svg:script type="text/ecmascript">
funtion mostrarTips(){
....
}
</svg:script>
and in the rec code:
<svg:rect onmouseover="mostrarTips()" x="95" y="340.384" width="5"
height="5" style=" fill:rgb(0,0,66);stroke:rgb(0,0,66);stroke-width:1"/>
I get the a black and white graphic and with blurred parts when I add
this script.
So How can I add java script to a inline SVG code with a namespace?
Thank you.
-----
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/