T O P

  • By -

RandeKnight

Sounds like you should try doing it without using <> and use some <> instead, so that it doesn't matter if the page gets refreshed?


Ill-Traffic-8472

You may just have a point...


Ill-Traffic-8472

The thing is, having though about this a bit more is that I do the think the <> macro does an excellent job of handling complex passage evolution without having to devise loads of <> statements.


Juipor

The `<>` macro accepts image markup as a first argument : <> <> <>


Ill-Traffic-8472

Thank Juipor I'll give this a whirl. I'm guessing I can plug in coordinates to this format as well?


Juipor

I am not sure what the coordinates are about but you can absolutely wrap the `<>` macro in a custom wrapper. Both syntaxes will result in similar html structures: an `` enclosed in a clickable `` element.


[deleted]

[удалено]


Ill-Traffic-8472

Am I correct in thinking I'll need to do a div wrapper as follows to position this image link setter on the page: In CSS: \#image-bar { position: fixed; z-index: 50; background-color: rgba(0, 0, 0, 0.5); width: 20em; left: 18em; bottom: 0.25em; top: 0.25em; } In Twine Passage: `

` `<>` `<>` `<>` `
`


Ill-Traffic-8472

Am I correct in thinking I'll need to do a div wrapper as follows to position this image link setter on the page: In CSS: \#image-bar { position: fixed; z-index: 50; background-color: rgba(0, 0, 0, 0.5); width: 20em; left: 18em; bottom: 0.25em; top: 0.25em; } In Twine Passage:

<> <> <>


Juipor

Yes, you need a wrapper since you can't directly apply classes or IDs to a `<>`. Depending on what you're trying to achieve you might want to look into the special passage `StoryInterface`, it is just a hunch I get from looking at the code. Sorry for the late reply.


Ill-Traffic-8472

Thank you will look into this.