Scale div in an upwards direction, instead of down?

Posted by Derrick on Stack Overflow See other posts from Stack Overflow or by Derrick
Published on 2010-06-12T08:57:26Z Indexed on 2010/06/12 9:02 UTC
Read the original article Hit count: 262

Filed under:
|
|
|

I have a custom info window over a google map, sometimes these info windows contain an image. When they do, the info window scales down over the marker it is positioned over as soon as the image has finished loading.

So the images take longer to load and the div's position has already been calculated by the time the image is finished loading.

I do believe there is a way of checking if an image has finished loaded, but that seems a long route - is there not a simple way with JS or CSS to get the div to scale upwards instead of down.

Anyone have any clues?

© Stack Overflow or respective owner

Related posts about html

Related posts about css