<iframe style="position:absolute;top:250;left:150;"></iframe>
Then position the div exactly above this iframe like:
<div style="position:absolute;top:250;left:150;"></div>
I was using jquery on the page to show dialog using ui.dialog plugin.
After fooling around sometime I devised following simple solution.
1) put id attribute on movie element to uniquely identify the movie object. Like,
<object id="movie1"></object>
2) before showing the dialog (or other content for that matter) call a javascript function to hide the movie. Like,
$("#movie1").css("display","none");
3) now show dialog. Like,
$("#dialog").dialog("open");
4) after closing the dialog, show the movie again. Like,
$("#dialog").dialog("close");
$("#movie1").css("display","inline");
that's all folks, Happy Coding
No comments:
Post a Comment