Hi, I would like to use inkscape to make svg's with url links in them. Then I can make a diagram/overview of an open-source project with links to where various stuuf is found. Really something like a mapped jpeg in html.
I have see here: http://blog.codedread.com/archives/2005/12/01/guide-to-deploying-svg- with-html/
that this is possible. Is such a feature planned for inkscape?
Merry christmas!
Hans-Cees
Hans-cees Speel @ http://www.hanscees.com Trees @ http://www.bomengids.nl
On Sun, Dec 25, 2005 at 10:31:41PM +0100, Hans-Cees Speel wrote:
Hi, I would like to use inkscape to make svg's with url links in them. Then I can make a diagram/overview of an open-source project with links to where various stuuf is found. Really something like a mapped jpeg in html.
I have see here: http://blog.codedread.com/archives/2005/12/01/guide-to-deploying-svg- with-html/
that this is possible. Is such a feature planned for inkscape?
It's already implemented. Right click on the object and select 'Add link'.
Bryce
On Sun, 2005-12-25 at 18:13 -0800, Bryce Harrington wrote:
On Sun, Dec 25, 2005 at 10:31:41PM +0100, Hans-Cees Speel wrote:
Hi, I would like to use inkscape to make svg's with url links in them. Then I can make a diagram/overview of an open-source project with links to where various stuuf is found. Really something like a mapped jpeg in html.
I have see here: http://blog.codedread.com/archives/2005/12/01/guide-to-deploying-svg- with-html/
that this is possible. Is such a feature planned for inkscape?
It's already implemented. Right click on the object and select 'Add link'.
IMO wouldn't it be good to include this functionality in the menu as well?
Jon
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Bryce Harrington wrote:
On Sun, Dec 25, 2005 at 10:31:41PM +0100, Hans-Cees Speel wrote:
Is such a feature planned for inkscape?
It's already implemented. Right click on the object and select 'Add link'.
Bryce
Hey, I just tried it and it works great. Created a link on an object, in the XML editor added a property to the link named "xlink:href" and pointed to some URL. Loaded the svg file into Firefox and it worked flawlessly. A rollover gives the "finger" cursor, and a click loads the link. I should actually try -using- this thing sometimes!
Suggestion: maybe that property should be automatically created with a dummy value, so people don't mistakenly use "href" or "html:href". ( maybe always http://inkscape.org? :-)
bob (ishmal)
On Mon, Dec 26, 2005 at 08:49:15PM -0600, Bob Jamison wrote:
Bryce Harrington wrote:
On Sun, Dec 25, 2005 at 10:31:41PM +0100, Hans-Cees Speel wrote:
Is such a feature planned for inkscape?
It's already implemented. Right click on the object and select 'Add link'.
Bryce
Hey, I just tried it and it works great. Created a link on an object, in the XML editor added a property to the link named "xlink:href" and pointed to some URL. Loaded the svg file into Firefox and it worked flawlessly. A rollover gives the "finger" cursor, and a click loads the link. I should actually try -using- this thing sometimes!
Yeah, I've been having some fun with it. I'm working on making an SVG-based web game using this. It floored me that I could create a beautiful web interface, add href's, save, load in Firefox, and have an extremely well laid out working (prototype) interface in a matter of hours.
Suggestion: maybe that property should be automatically created with a dummy value, so people don't mistakenly use "href" or "html:href". ( maybe always http://inkscape.org? :-)
Hmm, do you think this would actually be needed? I agree with Jon that it probably ought to go into one of the menus, but I think it is working fine as is.
One thing that'd be nice, though, for web use, is if there was a way to strip *out* all the default properties and such, so you can condense your svg files, so they take less time to download.
Bryce
Bryce Harrington wrote:
On Mon, Dec 26, 2005 at 08:49:15PM -0600, Bob Jamison wrote:
Suggestion: maybe that property should be automatically created with a dummy value, so people don't mistakenly use "href" or "html:href". ( maybe always http://inkscape.org? :-)
Hmm, do you think this would actually be needed? I agree with Jon that it probably ought to go into one of the menus, but I think it is working fine as is.
Well, you currently need to type it into every link, which might be tedious. But I did notice in the sp-anchor code that it has a check for a null or 0-length string, so xlink:href="" would work fine, I think.
bob
On Mon, Dec 26, 2005 at 09:52:20PM -0600, Bob Jamison wrote:
Bryce Harrington wrote:
On Mon, Dec 26, 2005 at 08:49:15PM -0600, Bob Jamison wrote:
Suggestion: maybe that property should be automatically created with a dummy value, so people don't mistakenly use "href" or "html:href". ( maybe always http://inkscape.org? :-)
Hmm, do you think this would actually be needed? I agree with Jon that it probably ought to go into one of the menus, but I think it is working fine as is.
Well, you currently need to type it into every link, which might be tedious. But I did notice in the sp-anchor code that it has a check for a null or 0-length string, so xlink:href="" would work fine, I think.
Yeah true, the ui could use some polish, but the hard part is working fine on this feature.
Bryce
participants (4)
-
Bob Jamison
-
Bryce Harrington
-
Hans-Cees Speel
-
Jon Phillips