C
Chamnap
Here I use prototype framework. I create a popup div, but there is a
problem with this on IE 6 when it is over a select box. I already use
an iframe, but it doesn't work well. Can anyone help me? Here is my
code:
if((navigator.appVersion.indexOf('MSIE')>0) &&
(navigator.userAgent.indexOf('Opera')<0)) {
new Insertion.After("reportBugPop",
'<iframe id="reportBugPop_iefix" ' +
'style="display:none;position:absolute;filterrogidXImageTransform.Microsoft.Alpha(opacity=0);"
' + 'src="javascript:false;" frameborder="0" scrolling="no"></
iframe>');
setTimeout(function() {
Position.clone("reportBugPop", "reportBugPop_iefix");
$('reportBugPop_iefix').style.zIndex = 1;
$('reportBugPop').style.zIndex = 2;
$('reportBugPop_iefix').show();
}, 50);
}
It overlaps very well, but the problem when loading an iframe it make
IE stucks for a while. Why it is like that? Any help is really
appreciated.
Thanks
Chamnap
problem with this on IE 6 when it is over a select box. I already use
an iframe, but it doesn't work well. Can anyone help me? Here is my
code:
if((navigator.appVersion.indexOf('MSIE')>0) &&
(navigator.userAgent.indexOf('Opera')<0)) {
new Insertion.After("reportBugPop",
'<iframe id="reportBugPop_iefix" ' +
'style="display:none;position:absolute;filterrogidXImageTransform.Microsoft.Alpha(opacity=0);"
' + 'src="javascript:false;" frameborder="0" scrolling="no"></
iframe>');
setTimeout(function() {
Position.clone("reportBugPop", "reportBugPop_iefix");
$('reportBugPop_iefix').style.zIndex = 1;
$('reportBugPop').style.zIndex = 2;
$('reportBugPop_iefix').show();
}, 50);
}
It overlaps very well, but the problem when loading an iframe it make
IE stucks for a while. Why it is like that? Any help is really
appreciated.
Thanks
Chamnap