--- Revision 498 +++ Revision 570 @@ -9,12 +9,16 @@ if (this.shadow) { this.shadow.hide(); this.effect('show', this.shadow.shadow); - } + } + if (this.iframe) + this.iframe.show(); }, hideShadow: function() { if (this.shadow) this.effect('hide', this.shadow.shadow); + if (this.iframe) + this.iframe.hide(); }, removeShadow: function() { @@ -43,7 +47,8 @@ .observe('blurred', this.blurShadow); if (this.options.shadow) - this.shadow = new UI.Shadow(this.element, {theme: this.getShadowTheme()}); + this.shadow = new UI.Shadow(this.element, {theme: this.getShadowTheme(), withIFrameShim: false}); + this.iframe = Prototype.Browser.IE ? new UI.IframeShim() : null; }, addElementsWithShadow: function() { @@ -69,6 +74,10 @@ var pos = this.getPosition(); this.shadow.setPosition(pos.top, pos.left); } + if (this.iframe) { + var pos = this.getPosition(); + this.iframe.setPosition(pos.top, pos.left); + } return this; }, @@ -78,6 +87,10 @@ var size = this.getSize(); this.shadow.setSize(size.width, size.height); } + if (this.iframe) { + var size = this.getSize(); + this.iframe.setSize(size.width, size.height); + } return this; }, @@ -85,5 +98,7 @@ this.setBoundsWithoutShadow(bounds, innerSize); if (this.shadow) this.shadow.setBounds(this.getBounds()); + if (this.iframe) + this.iframe.setBounds(this.getBounds()); } }); \ No newline at end of file