tray tu use interactivity in object properties - please help

Discussion about writing code for Inkscape.
lpt2007
Posts: 1
Joined: Tue Apr 10, 2018 11:37 pm

tray tu use interactivity in object properties - please help

Postby lpt2007 » Tue Apr 10, 2018 11:39 pm

Hi,

I try to use interactivity - onclick in object properties on example. I have two rectangles. On first I add undr interactivity - onclick --> style="display:none";. And when I click that rectangle become hidden. Now I wanna add under interactivity - onclick on second rectangle line to show back first rectangle. But I don't know how to do that? Can anyone please help me out?

thx in advance

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: tray tu use interactivity in object properties - please help

Postby brynn » Wed Apr 11, 2018 12:50 am

Topic is being addressed here already: https://forum.inkscapecommunity.com/ind ... pic=1077.0

Same people are participating in both forums, so you probably won't get a different answer here. Well, not unless someone here will actually give you the javascript code that you want. Personally, I don't know anything about javascript.


Return to “Programming”