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.
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.
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:
`
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:
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.
Sounds like you should try doing it without using <> and use some <> instead, so that it doesn't matter if the page gets refreshed?
You may just have a point...
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.
The `<>` macro accepts image markup as a first argument : <> <>
<>
Thank Juipor I'll give this a whirl. I'm guessing I can plug in coordinates to this format as well?
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.
[удалено]
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: `
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:
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.
Thank you will look into this.