jQuery Mobile

Demos

Menu Search

Dynamic popup

This demo shows how you can dynamically create a popup. The popup contains images which means we have to set the image width and height to make sure the popup gets the right size and position. At client side we can only get the size when the image has been loaded in the DOM. In this demo we use the load event, but with a fallback because it has some caveats (see .load() - jQuery API).

Open dynamic popup demo

Back

Cars