New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link support #126
Comments
SVG provides the "a" element like in HTML: AFAIK, in Inkscape, the only way to add links to a document is to use the XML editor. |
Do I understand correctly that a solution to the original question would imply that it is possible to use Sozi/Inkscape to create whole websites? If so, this is a feature that I have been dreaming about for a while now. I'd love to be able to create a .svg website where links bring you to specific frames and/or to external websites. In fact, I truly believe that this could lead to a whole new generation of websites! [I think the whole Sozi website as .svg may be a good candidate!] If I interpreted the above correctly, then I would really strongly like to request to include such 'link making' in the GUI. Firstly, because I can also use it then, but secondly, because such a feature may truly lead to some as yet unforeseen developments in browser/website development. |
Ps. I found a discussion over at the Inkscape forum, but the sample websites given there are clearly pre-Sozi ideas (and not quite what I had in mind): |
Ps2. Ok, now I'm really getting excited... Imagine that clicking a link can result in: changing frame + playing audio + moving objects around. This is sampled here: http://svg-wow.org/camera/camera.xhtml (though you can't click on a link there..) No more Flash for sure! I'm just dreaming aloud here... |
@Gulpen I had the same idea some time ago. I wish I had time to redesign the website of Sozi using Sozi itself. However, I don't see how this feature could be added to the GUI of Sozi. Like audio and video, links are not directly related to the presentation logic and I beleive this feature should be provided either by Inkscape itself, or by a separate extension. |
@SENSHU Actually, I recall seeing people clicking on links in powerpoint presentations! That is, they would navigate through their slides with by clicking on certain words which would then cause a jump to a specific slide. Again, they would click om a home link to bring them back to the index slide. IF this would be included in Sozi and would be implemented using 'external links' (that is, jump to frames using the 'anchors' in the URL) then a side-effect would be the possibility of linking to other websites as well. In fact, being able to click on a link which takes you to a website is not too strange a feature for presentations. But, I do understand your hesitation. The main problem being that MORE website-related features may be requested and, hence, distort the purpose of the Sozi project. I can already imagine the request for embedding portions of HTML code (eg for fields or even php). However, I truly think the above-mentioned feature could also fit within the Sozi project and merely this feature would already allow me to implement my website ideas. Maybe afterwards, if people want to develop this idea further, a Sozi-web fork would start being appropriate. The other problem whether it falls in Sozi or Inkscape. I have to readily admit I have no knowledge about this. |
There is another issue that I would like to address: currently, frame URLs are formed using frame numbers. This can lead to problems when frames are inserted, removed, reordered, etc. So basically, the roadmap for better link support could be:
|
The third item was the easiest to implement. I have pushed a new inkscape extension in the "dev" branch. The extension is very basic:
|
Wow you are fast :) This is great! I will inform you if I encounter any bugs, etc. Thank you very much. |
Hi senshu, doesn't seems to work (I'm on winXP....) Can't load the extension... |
@lovesozi No idea. What do you observe? |
thanks for your answer, |
It's strange. You should have two files named "sozi_extras_link.inx" and "sozi_extras_link.py" in your Inkscape extension folder. If they are missing or corrupted, you can download them again from these links: |
Ok, now it works, thank you very much. Very useful extension, thank you! |
Another user observed that Inkscape already allows to create, edit and remove links. Right-click on an element and use the appropriate item in the pop-up menu: "Create Link", "Link Properties", "Remove Link". The extension "Sozi extras/Create Link" is considered deprecated and will no longer be available in the next release. |
Thank you very much Another user observed that Inkscape already allows to create, edit and remove links. Right-click on an element and use the appropriate item in the pop-up menu: "Create Link", "Link Properties", "Remove Link". The extension "Sozi extras/Create Link" is considered deprecated and will no longer be available in the next release.
|
Yes the Create Link function works fine directly in Inkscape. Tips for noobs like me :
|
Alright people, thank you so much for all the insights! I finally found the time again to work on my SVG-Sozi website and got very far with the above information. However, I encountered a new problem: when jumping frames 1,2,3,4, in immediate consecutive order Sozi jumps perfectly using the time settings I entered via GUI. However, when jumping frames in order 1, 3, 2, 4, 1 (i.e. non-consecutive), Sozi ignores all the settings I entered and uses a "default 1 second" time setting instead of what I specified for each frame. Fix: Sozi must always use the entered settings. |
@Gulpen This is an old thread that has been closed 6 months ago. You should open a new issue so that I can keep your request on my todo list. Currently, transition settings are applicable when following the sequence of frames in consecutive order.
I understand your concern, but it is not obvious that a transition between consecutive frames should have the same duration as a transition through a link. A better fix, IMHO, would be to attach specific transition settings to each link. |
I would like to have ability to use links in text. So that i could use a text button as a short cut to a frame. Also external links would be nice.
How could i do this?
The text was updated successfully, but these errors were encountered: