SVG as link

Discuss SVG code, accessible via the XML Editor.
szary
Posts: 1
Joined: Thu Jul 12, 2012 11:16 pm

SVG as link

Postby szary » Fri Jul 13, 2012 7:20 am

Hello,

I'am trying to create SVG link using JS.

http://dziennikpollub.cba.pl/javasctipt.svg
http://dziennikpollub.cba.pl/dynashow.js

But as you can see the result is only text. Can you help?

(If you cant see source code plz let me know)

chriswww
Posts: 383
Joined: Fri Nov 19, 2010 3:04 pm

Re: SVG as link

Postby chriswww » Tue Jul 17, 2012 9:28 am

Hi Szary,
You need to set the mime type in your web server. If the svg is being generated dynamically then you also need to set the correct mime type in the script.


Return to “SVG / XML Code”