Skip to content
Advertisement

Tag: load

Waiting for image to load in JavaScript

I’m making an Ajax call which returns me some info including an image path. I prepare all this information in my HTML which will be displayed as a kind of popup. I just toggle the visibility of by popup div from hidden to visible. To set the position of my popup div, I have to calculate depending on the height

Advertisement