Hi Guys,

I am trying to change the cursor attribute for a rectangle but appears that
Batik doesn't display the cursor (or at least I can not see any change) in a
file simple like this:

<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"; width="500" height="500">
<g id="case1">
<!--<circle cx="50" cy="50" r="50" fill="green" onclick="showFrame()"/>-->
<rect x="50" y="20" width="50" height="80" fill="red" stroke="black"/>

<rect x="70" y="30" width="50" height="80" fill="moccasin"
stroke="midnightblue" stroke-width="5" id="rectangle"
onmousemove="showFrame();" cursor="wait"/>
</g>
<script type="text/ecmascript">
    function showFrame() {
     evt.target.setAttribute('fill', 'blue')
    }
  </script>
</svg>

I tried in Opera and it works.
Any advice?

Thanks a lot

Abraham

Reply via email to