
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