I am starting using YUI's Container control in my application to display messagebox popups and other dialogs.
I am not clear what the recommended/cleanest way to create a popup sourced from an external HTML file would be. I'm talking about a popup showing 'further information' about a product - which would contain text and images.
The closest example to what i want to do is the 'create a model loading dialog'. This shows a please wait graphic while it asynchronously loads external data, but on completion that data is shown in the body of the page and not inside a popup.
Now I know I could use this example for how to show a 'please wait' dialog, and on completion just show another popup with the returned data.
However I was hoping there was built in functionality to load an external file into a popup because:
a) it would be less code and event handling for me to do
b) the popup will contain images and I want the please wait to remain on screen until all images inside it have loaded. it would be a lot trickier to do that by myself