Hi Priya,
jpg is a static image format. How can you retain the mouse-events?
Are you expecting batik-rasterizer to create an HTML image map? I don't
think it does that.
Andreas
Priya Krishnan wrote:
hi!
I am a newbie SVG/Batik user. I have a SVG doc (with just one circle
element in it, onmouseover, the size changes).
I use batik-rasterizer to convert the svg to jpg. Now I have lost the
ability to track the mouse events. Is there a way to retain the
mapping while converting to jpg.
your help is greatly appreciated.
thanks
Priya
from the sample---
<circle onmouseover="circle_mouseover(evt)" cx="460" cy="400" r="10"
fill="red"/>
<!-- ECMAScript -->
<script type="text/ecmascript">
var svgns = "http://www.w3.org/2000/svg";
function circle_mouseover(evt) {
if ( window.svgDocument == null )
svgDocument = evt.target.ownerDocument;
var circle = evt.target;
var currentRadius = circle.getAttribute("r");
text.setAttribute("r", currentRadius*2);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]