Anyway, to the point of this post: in one of these windows I later embedded a Unity game. Much to my dismay I discovered that having a
div hovering over an embedded Unity game doesn’t work — the
div will appear behind it, despite having a higher
z-index. This means that I can’t have my windows properly overlapping each other, and any thought of decorating a Unity game (giving it rounded corners, perhaps) can be forgotten.
I’m told by intelligent people that this behaviour can be expected with any embedded object (Flash excluded). So, what’s the solution? Unfortunately there isn’t one that I’m aware of. As nice as it would be to place wacky animated GIFs overtop a well-polished Unity game (bring back 90’s web design!), you’re simply out of luck. Or I’m simply out of luck. Somebody is simply out of luck.