I have MySites displaying through an iFrame via the PageViewer Web part which takes some time to load initially. The user is unaware of content loading as it only shows a blank page until finished. Just wondering if anyone has a solution for showing a busy indicator or the SP 'Working on it' dialog until the load is finished.
I already have the following attached to the iFrame element (which hides some divs after it loads).
mySiteIframe.load(function(){
//hide some divs
});
Is there a preload event I can use to display a busy indicator and hide it on the .load below? Or is there something OOB I can use? Thanks for reading!