topup icon indicating copy to clipboard operation
topup copied to clipboard

TopUp IFrame is not shown until clicked on in IE6

Open bright4 opened this issue 15 years ago • 2 comments

This is most probably some IE6 render quirk, but on some pages with redirection, the iframe goes hidden after the redirection kicks in (at least, that's what I think it does).

The fix that works is to change the following line from the 'ie6fix' CSS:

.tu_transparent { filter: alpha(opacity = 0); }

into:

.tu_transparent { visibility: hidden; }

Perhaps changing all other (also non-IE) zero-opacity settings into this visibility:hidden is a performance improvement?

Thanks, Chris (your colleauge)

bright4 avatar Oct 22 '09 08:10 bright4

The above comment was made too soon... (but still may be an improvement, no? ;-) Also, it should be about the 'iefix' and not the 'ie6fix' CSS.

The real issue was with the following piece from the 'iefix' CSS:

#tu_overlay { top: expression((ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"); left: expression((ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"); position: absolute; }

Removing this resolves the issue. In my case, I moved it to the 'ie7fix' CSS.

bright4 avatar Oct 22 '09 09:10 bright4

Hi Chris,

I will take a look at the possible performance improvement. As for the dodgy iframe rendering in IE6, do you have a test page online so I can test it in IE6 and IE7 myself? Either way, thank you for contributing little fixes for TopUp.

Greets, Paul.

archan937 avatar Oct 24 '09 06:10 archan937