On Tue, 2007-06-05 at 12:39 +0100, Ruben Fonseca wrote:
> Hi!
> 
> I'm using Batik on a Java application. I have this javascript funtion on
> my SVG that changes some styles of some elements.
> 
> Since I want to trigger that changes from Java, I used the nice
> Interpreter.evaluate("my_javascript_function");
> 
> The problem is that the SVG element style do not change when I trigger
> the event. However, as soon as I put the mouse over the SVG, the
> elements are changed correctly!
> 
> So I'm guessing:
> 
> * the javascript does not run until I put the mouse on the SVG
> * the javascript runs but the SVG does not get redraw until I put the
> mouse on the SVG

never mind.. Batik FAQ item 3.2 solved my problem...

Ruben


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to