Divs

Forgewright
20 Mar 2018, 14:19When a div is set in a room description to hold an image and then the script moves the player to another room, Do the divs have to be removed? Can they affect the next rooms graphics?
Also anything I add after the div script won't show onscreen.
This is the room decription
SetTimeout (3) {
s = "<div style=\"position:relative;\">"
s = s + "<img src=\"" + GetFileURL("store.png") + "\" style=\"position:absolute;top:-30px;left:500px;\" />"
s = s + "<img src=\"" + GetFileURL("monsterGroup2.gif") + "\" style=\"position:absolute;top:250px;left:750px;\" />"
s = s + "</div>"
msg (s)
}
The time out is used to wait for the game to load because the images tend to piece together as game loads. Seems smoother for online play.
This all works together well.
When trying to add a wait script, the link does not show, but the key press script works.
This moves the player to the next room but the command line stretches across the right margin to the edge of the screen.

Forgewright
20 Mar 2018, 14:52Ok. I was calling a Hide panes and a hide command at the beginning of the script. I removed those and I can see the wait link. I also removed the div part of the script and print messaged my way to where I wanted the images top to bottom.
Wonder why the hide scripts affect the wait script link? Maybe it is off screen some how.