Hi, I'm trying to create a modal popup effect using JQuery UI 1.7.2 Basically I need a normal Error widget to pop up with the rest of the page blocked out. We're using IE6 at work and there are no ways to upgrade. Currently I'm trying this.
<div id="errorPopup" style="display: none;">
<div class="ui-overlay">
<div class="ui-widget-overlay"></div>
<div class="ui-widget-shadow ui-corner-all" style="width: 302px; height: 300px; position: absolute; top: 1em; left: 1em;"></div>
</div>
<div style="position: absolute; left: 35em; top: 30em; padding: 10px;" class="ui-state-error ui-widget ui-widget-content ui-corner-all">
<div class="ui-state-error ui-dialog-content ui-widget-content" style="background: none; border: 0;">
<p>
<span class="ui-icon ui-icon-alert" style="float: left; margin-right: 0.3em;"></span>
<strong>Opps:</strong> That wasn't meant to happen.
</p>
</div>
</div>
</div>
Please note the use of the JQuery UI classes. This doesn't work and I don't really know why. I am trying to avoid writing my own css and js to get the effect as the reason for moving to JQuery UI was for it to handle his stuff for me.
Any suggestions welcome!