Overlay Broken In Ubuntu Firefox
The overlay is not working in ubuntu's firefox 3.6.10. It appears it is never setting the background-color or opacity attributes in the style tag. I get the following overlay div in firefox 3.6 on the demos page.
that's because for linux the blockui does not apply the opacity for performance issues.
Anyway I modified it and tested it, and I could not notice a delay.
I had tested it is working with overlay on ff/linux. The performace issue can be in fact of fadeIn on overlay/opacity ...
On line 337, I changed to apply only if the fade is not in ff/linux
if (opts.fadeIn) {
var cb = opts.onBlock ? opts.onBlock : noOp;
var cb1 = (opts.showOverlay && !msg) ? cb : noOp;
var cb2 = msg ? cb : noOp;
if (opts.showOverlay)
if(!($.browser.mozilla && /Linux/.test(navigator.platform))){
lyr2._fadeIn(opts.fadeIn, cb1);
}else{
lyr2.show();
}
if (msg)
lyr3._fadeIn(opts.fadeIn, cb2);
}
Have you noticed a delay when using fadein in ff/linux?
I'm not seeing any delays, but I got the driver installed nvidia ... others have not, this delay may have noticed ... The idea is to apply only to fade in the message if ff / linux, not on overlayMask
And overlayMask not handle the opacity via JS in chrome, only by using CSS: div.blockOverlay { filter: alpha (opacity = 50); opacity: 0.5; }
I made some modifications, if you can arrange for you.