batik-users@xmlgraphics.apache.org
[Top] [All Lists]

Cursor attribute in batik

Subject: Cursor attribute in batik
From: "Abraham Rodriguez Mota"
Date: Fri, 4 Jul 2008 18:32:16 +0100
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" > <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" 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
<Prev in Thread] Current Thread [Next in Thread>