thanks a lot thomas, i think this will solve my problem. thanks again for the quick response. cheers GVS
-----Original Message----- From: Thomas DeWeese [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 26, 2003 5:30 PM To: Batik Users Subject: Re: script enabling on the server side GVS Srinivas wrote: > hi all, > i am using batik jpeg transcoder to raster an SVG into an image.i am using > java script to dymamically show some textelements and hide some using > style.setproperty('inline') and style.setproperty('none').this is done on > the onload event of my svg document. > if i raster this svg into an image,can the batik interpret the onload event > of javascript and render the image accordingly. > how to enable batik for script interpreting. > tha javascript used in the document are contained in js files linked to the > svg document. > please help me to achieve the script enabling in the batik. Hi GVS, I think you should look at: org.apache.batik.transcoder.SVGAbstractTranscoder.KEY_EXECUTE_ONLOAD If you set this transcoder hint to true it will run all your onload scripts before it renders the document. Enjoy! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] _____________________________________________________________________ This e-mail has been scanned for viruses by MCI's Internet Managed Scanning Services - powered by MessageLabs. For further information visit http://www.mci.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]