Re: Dynamically sizing map regions

Phreaky's and my games use a CSS file to set the image size, but have hard coded map regions for the hit targets. The intent of this thread is to investigate methods for making the image size variable and having the map targets scale to match.
I can certainly do it with a lot of Javascrïpt, but I'm interested in hearing other methods. Part of the advantage of how things are currently done is that the html code is fairly simple and readable for the non-coders who use Adventure Creator. It's a fine line between functionality and ease of use that I'm trying to walk.
TheBrain, could you repost the link you provided in the Survey thread?
BKP UP, could you talk more about how to do this with CSS files?
We're 500 HTML files into our next game already (literally) so we probably won't change that one. But I'm open to changes for the next one.
Tlaero
I can certainly do it with a lot of Javascrïpt, but I'm interested in hearing other methods. Part of the advantage of how things are currently done is that the html code is fairly simple and readable for the non-coders who use Adventure Creator. It's a fine line between functionality and ease of use that I'm trying to walk.
TheBrain, could you repost the link you provided in the Survey thread?
BKP UP, could you talk more about how to do this with CSS files?
We're 500 HTML files into our next game already (literally) so we probably won't change that one. But I'm open to changes for the next one.
Tlaero