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;filter:progid:DXImageTransform.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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to