To use this script on your own page, click in the text area below, select all, and copy to grab the script. Then, just paste into your own page — and you're done.
See it run: Using the Container Utility
This is the HTML for the Weather module. We've hardcoded it in this case, but in a production application it would be dynamically generated.
This CSS styles the main page and the pop-up dialog.
This JavaScript calls the container and makes it work.