In parent.js where the iframe is created, if we add to the IE conditional to also set frameborder="0" this would remove the border that shows around all iframes in IE, while no border shows by default in other browsers.
This would improve the cross browser consistency of this module.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | modalframe.patch | 844 bytes | corey.aufang |
| #2 | frameborder.png | 7 KB | corey.aufang |
Comments
Comment #1
markus_petrux commentedI think the CSS class #modalframe-element covers this issue. Please, see modalframe.parent.css
Maybe I missed the difference when testing with IE6 to IE8? Could you please attach a screenshot where we can see the effect of not using frameborder="0" for IE?
Comment #2
corey.aufang commentedHere is a screen shot, on the left is without frameborder="0" and on the right is with. This is in IE8.
Comment #3
corey.aufang commentedforgot to change status
Comment #4
corey.aufang commentedI also found another discrepancy in how the IFRAME is displayed in IE.
In browsers other than IE you can set the background of the iframe to transparent and it will show what ever is behind the iframe.
By default, IE does not allow this unless you put an additional argument of allowtransparency="true" into the IFRAME tag.
Comment #5
corey.aufang commentedHere is a patch with the suggested changes.
Also of note that these are defaults in Drupal 7's overlay module.
Comment #6
markus_petrux commentedCommitted to CVS. Thanks (and sorry for the delay)