How to display jQuery Dialog on top of YouTube Video/SlideShare PPT?
Posted
by Gopinath
on Stack Overflow
See other posts from Stack Overflow
or by Gopinath
Published on 2009-07-16T09:49:31Z
Indexed on
2010/03/12
12:47 UTC
Read the original article
Hit count: 307
We use jQuery modal dialog box to get confirmation from users before they delete an item. The modal dialog works fine as long as there are no YouTube videos on the screen.
If there is a YouTube video the dialog box is displayed beneath the video. I tried changing the z-index of dialog to 3999, but no use. (I don't know much about CSS)
$('#dialog').dialog({
autoOpen: false,
modal: true,
width: 300,
zindex:3999,
buttons: {
'Ok': performDelete_dialog,
'Cancel': function(){$(this).dialog('close');}
}
});
Can some one suggestme what should we do to place jquery dialog box on top of YouTube videos?
© Stack Overflow or respective owner