web page to show svg file
Hi,
I hope I am posting to the right place. If not, please advise where I should post.
I have a web page which I got from http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Web-Use.html The first example given there is what I took. The html file looks like (I have modified it so very slightly, but it works as expected):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>SVG Included with <object> tag in an XHTML File</title> </head> <body>
<h2>s o m e h e a d i n g</h2>
<object type="image/svg+xml" data="SampleFile.svg"> Browser does not support SVG files! </object>
</body> </html> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The data file SampleFile.svg is made by inkscape and what I am interested in doing now is to make a hyperlink out of the object tag.
Would someone please give me a tip? An example would be highly appreciated.
Thank you.
Regards,
Tena Sakai tsakai@...2019...
Tena Sakai wrote:
I hope I am posting to the right place. If not, please advise where I should post.
I have a web page which I got from http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Web-Use.html The first example given there is what I took. The html file looks like (I have modified it so very slightly, but it works as expected):
[...]
The data file SampleFile.svg is made by inkscape and what I am interested in doing now is to make a hyperlink out of the object tag.
I am not sure about a link in the OBJECT tag, but you can use the next best thing: place the link *inside* the SVG (however, search engines may ignore it). Select an object from your drawing, right click, use "Create Link", right click again, use "Link Properties" and type the desired URL.
Hi Nicu,
Thanks for your reply. I appreciate it.
Select an object from your drawing, right click, use "Create Link", right click again, use "Link Properties" and type the desired URL.
Even though I am able to follow your instruction, I fail to understand what the corresponding url should look like. Would you mind giving me a small example?
Thanks in advance.
Tena Sakai tsakai@...2019...
-----Original Message----- From: inkscape-devel-bounces@lists.sourceforge.net on behalf of Nicu Buculei Sent: Wed 9/17/2008 2:09 AM To: inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] web page to show svg file
Tena Sakai wrote:
I hope I am posting to the right place. If not, please advise where I should post.
I have a web page which I got from http://tavmjong.free.fr/INKSCAPE/MANUAL/html/Web-Use.html The first example given there is what I took. The html file looks like (I have modified it so very slightly, but it works as expected):
[...]
The data file SampleFile.svg is made by inkscape and what I am interested in doing now is to make a hyperlink out of the object tag.
I am not sure about a link in the OBJECT tag, but you can use the next best thing: place the link *inside* the SVG (however, search engines may ignore it). Select an object from your drawing, right click, use "Create Link", right click again, use "Link Properties" and type the desired URL.
Tena Sakai wrote:
Hi Nicu,
Thanks for your reply. I appreciate it.
Select an object from your drawing, right click, use "Create Link", right click again, use "Link Properties" and type the desired URL.
Even though I am able to follow your instruction, I fail to understand what the corresponding url should look like. Would you mind giving me a small example?
Look at this "website": http://svg.nicubunu.ro/ Download the pages, they are SVG, and open with Inkscape.
participants (2)
-
Nicu Buculei
-
Tena Sakai