IE displays border around HTML lightbox content even when 'Enable border' is unchecked

jwarner - February 26, 2009 - 00:10
Project:Lightbox2
Version:6.x-1.9
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Even when 'Enable border' is unchecked under Site Configuration -> Lightbox2 -> HTML Content, IE still shows a border.

Firefox does not.

#1

vejnoe - March 31, 2009 - 07:39

Hi, we got the problem and fixed it by setting frameborder = 0 on line 481 in lightbox.js

Line 481: $('#frameContainer').html('<iframe id="lightboxFrame" style="display: none;" src="'+src+'" frameborder="0"></iframe>');

We hope that you are soon going to fix this problem.

By the way, thanks for a great module.

Regards,
Andreas.

#2

Mark Theunissen - April 20, 2009 - 11:13

Confirm that the fix works. Would love to see this patched in the next version, thanks!

#3

akalata - April 30, 2009 - 15:27

I haven't had any luck with the fix posted by vejnoe.

edit: I've gotten it to work so long as I have the code suggested above, AND a "frameborder=0" added to the link: <a href="link.html" rel="lightframe" frameborder="0"></a>. Tried removing each in turn, only seems to work when both are there. Could be computer voodoo or just something I'm missing, just wanted to update my comment.

#4

guusvandewal - July 13, 2009 - 13:07

Thank you, this works great for IE6 (yuck) and IE7!

#5

lamp04ka - July 8, 2009 - 09:16

It works! Thanks

#6

ash.smarty - September 30, 2009 - 14:07

Thanks.. its really works

 
 

Drupal is a registered trademark of Dries Buytaert.