google-code-export / nyromodal

Automatically exported from code.google.com/p/nyromodal
1 stars 1 forks source link

IE8 and dialog closing #340

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It seems like when running under Ie8, if there is a flash movie on the 
background, if I trigger a nyromodal dialog (via url: "blabla") and close 
it, sometimes the dialog doesn't close but stays there. It seems like this 
issue fixes if I minimize and maximize back IE. 

the flash movie has wmode transparent and here is the code how I call 
nyromodal:

    function showItem(i,x){
        var myurl = "/item/?i="+i;
        $.nyroModalManual({url:myurl,title:x});
    }

let me notice you that firefox and chrome has no such issue and working 
well.

Regards

Original issue reported on code.google.com by dalama...@gmail.com on 28 Sep 2009 at 6:03

GoogleCodeExporter commented 9 years ago
Is it possible to see the whole page to experience the bug please?

Original comment by nyro...@gmail.com on 28 Sep 2009 at 10:07

GoogleCodeExporter commented 9 years ago
Any news about this issue?
And are you using a doctype?

Original comment by nyro...@gmail.com on 3 Oct 2009 at 2:12

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hello, I am terribly sorry for the delayed answer. Yes I am using doctype. Here 
is my 
html, using the flash, if user clicks something on the gallery, flash calls for 
the 
nyromodal.

<!DOCTYPE html> 
<html> 
<head> 
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
  <link type="text/css" href="/media/style.css" rel="stylesheet" /> 
  <link rel="stylesheet" href="/media/nyroModal.full.css" type="text/css" 
media="screen" /> 
  <link type="text/css" href="/media/jquery-ui-1.7.2.custom.css" rel="stylesheet" /> 
  <script type="text/javascript" src="/media/jquery.js"></script> 
  <script type="text/javascript" src="/media/jquery-ui-1.7.2.custom.min.js"></script> 
  <script language="javascript">AC_FL_RunContent = 0;</script> 
  <script type="text/javascript" src="/media/AC_RunActiveContent.js"></script> 
  <script type="text/javascript" src="/media/jquery.nyroModal-
1.5.2.pack.js"></script> 
  <script type="text/javascript"> 
    function showItem(i,x){
        var myurl = "/item/?i="+i;
        $.nyroModalManual({url:myurl,title:x});
    }
  </script> 
</head> 
<body bgcolor="#000000"> 
<!--url's used in the movie--> 
<!--text used in the movie--> 
<!-- saved from url=(0013)about:internet --> 
<center> 
<script language="javascript"> 
    /*
    function showItem(i,x){
            var url = "/item/?i="+i;
            var mydia = $('<div src= style="display:hidden"><iframe 
src="'+url+'" width="100%" height="100%"marginWidth="0" marginHeight="0" 
frameBorder="0" scrolling="autotitle="Dialog Title">Your browser does not 
suppr</iframe></div>');
            mydia.dialog({autoOpen: false,title:x, show:'blind',hide: 
'slide',resizable: false,width: 'auto',height: 'auto'});
            mydia.dialog('open');
            return false;
  }
*/
    if (AC_FL_RunContent == 0) {
        alert("This page requires AC_RunActiveContent.js.");
    } else {
        AC_FL_RunContent(
            'codebase', 
'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0
,0,0'
,
            'width', '100%',
            'height', '600',
            'src', '/media/preview',
            'quality', 'high',
            'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
            'align', 'middle',
            'play', 'true',
            'loop', 'true',
            'scale', 'noScale',
            'wmode', 'transparent',
            'devicefont', 'false',
            'id', 'preview',
            'bgcolor', '#2e2e2e',
            'name', 'preview',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', '/media/preview',
            'salign', ''
            ); //end AC code
    }
</script> 
<noscript> 
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
rsion
=8,0,0,0" width="1024" height="850" id="preview" align="middle"> 
    <param name="allowScriptAccess" value="sameDomain" /> 
    <param name="allowFullScreen" value="false" /> 
    <param name="movie" value="/media/preview.swf" /><param name="quality" 
value="high" /><param name="bgcolor" value="#000000" /> <embed 
src="/media//media/preview.swf" quality="high" bgcolor="#000000" width="100%" 
height="850" name="preview" align="middle" allowScriptAccess="sameDomain" 
allowFullScreen="false" type="application/x-shockwave-flash" 
pluginspage="http://www.macromedia.com/go/getflashplayer" /> 
    </object> 
</noscript> 
</center> 
</body> 
</html>

Original comment by dalama...@gmail.com on 7 Oct 2009 at 8:14

GoogleCodeExporter commented 9 years ago
The doctype set on yout HTML page looks very odd. Is it really what you have or 
was
it changed when you sent it?
Then, Can I see the live page to experience the bug myself please?

Original comment by nyro...@gmail.com on 13 Oct 2009 at 3:27

GoogleCodeExporter commented 9 years ago
any news about this issue?

Original comment by nyro...@gmail.com on 30 Oct 2009 at 1:57

GoogleCodeExporter commented 9 years ago

Original comment by nyro...@gmail.com on 8 Nov 2009 at 2:01

GoogleCodeExporter commented 9 years ago
Had the similar problem. I called the youtube video in nyromodal. It's fine on 
opening. When closing it, the whole browser becomes black and find out this 
black is actually from Flash. I dug a litter and found out it works when 
removing this._callFilters('close') from _close. Here is a little bit more 
info: 
http://www.kdweb.co.uk/blog/nyromodal-embeding-video-ie8-dialog-closing-all-page
-blacked-out 

Original comment by RuiChaor...@gmail.com on 15 Feb 2012 at 2:39