I have already posted a request on GitHub, but now feel like there could be other ways to get a hyperlink working on the area surrounding a fine-lined object, which is itself too difficult to touch with the mouse pointer.
The attempt to create a transparent background object which will be linked in the same way, has failed so far.
Tyler´s file don´t translate to PDF - "0" opacity objects simply don´t make it into a PDF here. Objects with "1"% opacity will.
Got it to work in AffinityPublisher along the same specs with zero Opacity. To make a long story short the answer is: "Yes, transparent objects can be used for hyperlinking." Although I´m not sure if that´s a friendly approach.
Friendly or not, I am okay with your hints and the statement that this is tricky to accomplish. ;)
Erm.., no. I am doing this for the Web. No PDF in sight.
Looks awkward, *is* awkward but I am having fun. You cannot take it seriously, in view of the time and the fiddly manipulation of curves that it takes to create anything potentially usable.
BTW... those who follow the discussion on GitLab (not GitHub of course) have probably seen the mention of the pointer-event attribute to the link-tag.
AFAIS, this is a cool way to make the transparent background-object do, what I want. The XML-editor (Shift+Ctrl+X) is just what it needs to modify the code of my graphic accordingly. 😂
I have already posted a request on GitHub, but now feel like there could be other ways to get a hyperlink working on the area surrounding a fine-lined object, which is itself too difficult to touch with the mouse pointer.
The attempt to create a transparent background object which will be linked in the same way, has failed so far.
Would you have a different idea?
TY.
How would one detect an invisible linked area. Why not make it the same color of the background then like here:
Nathan Lee's reply on GitLab looks promising. https://gitlab.com/inkscape/inbox/-/issues/6766#note_906909482
You can use
fill-opacity:0
with a solid fill.Tested in Chrome, Firefox works fine.
Doesn´t work here - it´s the same as an invisible object and don´t accept context-menu access anymore. Maybe an XML hack but I didn´t test it.
Working here. :-D
Yes, added the code with XML editor.
Doesn´t translate into PDF here - if that´s the goal anyway.
.
Tyler´s file don´t translate to PDF - "0" opacity objects simply don´t make it into a PDF here. Objects with "1"% opacity will.
Got it to work in AffinityPublisher along the same specs with zero Opacity. To make a long story short the answer is: "Yes, transparent objects can be used for hyperlinking." Although I´m not sure if that´s a friendly approach.
Friendly or not, I am okay with your hints and the statement that this is tricky to accomplish. ;)
Erm.., no. I am doing this for the Web. No PDF in sight.
Looks awkward, *is* awkward but I am having fun. You cannot take it seriously, in view of the time and the fiddly manipulation of curves that it takes to create anything potentially usable.
BTW... those who follow the discussion on GitLab (not
GitHubof course) have probably seen the mention of the pointer-event attribute to the link-tag.AFAIS, this is a cool way to make the transparent background-object do, what I want. The XML-editor (Shift+Ctrl+X) is just what it needs to modify the code of my graphic accordingly. 😂