On Thu, 26 Oct 2006 11:56:56 +0200, Cameron McCormack <[EMAIL PROTECTED]> wrote:
> Hi Andreas and Anil. > > I was discussing this with Anil off-list and how I ran into a problem > with Batik in an applet, but it seems it was just because I forgot to > copy a file. :) > > Anil Ranka: >> > This can solve my problem. I can still have SVG and create java applet >> > based on Batik API which will be embedded into my web-page. >> > >> > I need pointers to evaluate this or please validate my thought. > > Ok so here is a demo of using Batik’s JSVGCanvas component in an applet > that will go up on the project’s website some time: > > http://arc.mcc.id.au/temp/2006/applet/demo.html > > It demonstrates scripting the applet from the HTML page. (I tested it > in Firefox, and for some reason I couldn’t get the scripting to work in > Opera.) The code for the applet is here: It seemed to work fine in Opera when I modified it locally and reloaded. I think it may be a problem with the global script variable 'chart' being initialized too early. Maybe you can try setting the variable after the document has loaded completely, like in an onload handler? Cheers /Erik -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ----- 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/

