google-code-export / nyromodal

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

suggest #554

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
when i used this jQuery Plugin in IE6
i found some div is in error position.
So i have to hide the code as follows:
[
else if (isIE6) {
                body.css({
                    marginLeft: 0,
                    marginRight: 0
                });
                var w = body.width();
                var h = $(window).height()+'px';
                if ($(window).height() >= body.outerHeight()) {
                    h = body.outerHeight()+'px';
                } else
                    w+= 20;
                w += 'px';
                body.css({
                    width: w,
                    height: h,
                    position: 'static',
                    overflow: 'hidden'
                });
                $('html').css({overflow: 'hidden'});
                setCurrentSettings({
                    cssOpt: {
                        bg: {
                            position: 'absolute',
                            zIndex: currentSettings.zIndexStart+1,
                            height: '110%',
                            width: '110%',
                            top: currentSettings.marginScrollTop+'px',
                            left: currentSettings.marginScrollLeft+'px'
                        },
                        wrapper: { zIndex: currentSettings.zIndexStart+2 },
                        loading: { zIndex: currentSettings.zIndexStart+3 }
                    }
                });]

then the problem is fixed

:)

Original issue reported on code.google.com by toel...@gmail.com on 9 Dec 2010 at 8:34