Clickable images

Please specify version and format if asking for help, or apply optional tags above:
Twine Version: 2.3.13 which is online
Story Format: Harlowe 3.2.1

Sorry for asking this again, but the commands i found doesnt seem to work. Is it possible to make clickable images ? That link you to the next passage? Also is it possible to make only certain part of that image clickable? To make it a little interactive?

Thank you very much !

Yeah, I would say that using jQuery can help a lot with this, easily.

jQuery("ElementIDorClass").on("click", (event) => {
    /* Put your code here */
});

About the part of making just a part of the image clickable I don’t know, I never needed something like that, but I understand where you are coming from.

Thank you for your answer ! It seems to be in Sugarcube, but i guess you can use the same for Harlowe. Im not a great programmer, so im just learning these things. I will look after what jquery does exactly.
Actually i just found this command and it seems to work :
[[ < img src= ‘yourfoldername/ yourpicturename.png’> |newpassage]]

But it would still be fun to make only certain areas of the picture clickable.
Thank you !

1 Like

Yeah, Just now I read that you are using the Harlowe… I’m sorry. If what I mentioned doesn’t work, disregard what I said. lol

No its allright. You tried to help, thank you !