Sunday, May 29, 2011

Open SVG file in another browser tab or save locally

Hi,
I'm new to GWT development.
I have coded a small flag generator application, which can be seen
here in its early stage: http://flag-designer.appspot.com/
It makes use of inline-SVG, a feature that is not readily supported by
many browsers at this time. (see http://caniuse.com/svg-html5)

I'd like to introduce a link on the page that would allow to download
the .svg file locally. (Or open it in a seperate browser window/tab
for that matter).
That svg content is available in the client in form of a Java String.
How would i go to create a link that allows the user to open it in
another browser tab or save the file?

Are there other ideas to handle SVG images?

thanks,
Lars R.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment