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

Firefox does not.

CommentFileSizeAuthor
#9 lightbox2.ie_.patch794 bytesfabianderijk

Comments

vejnoe’s picture

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.

Mark Theunissen’s picture

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

akalata’s picture

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.

drupal@guusvandewal.nl’s picture

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

lamp04ka’s picture

It works! Thanks

ashhishhh’s picture

Thanks.. its really works

toomanypets’s picture

With Lightbox2 6.x-1.x-dev (2010-Jul-11) the same fix works but the line number in lightbox.js is now 507.

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

drupalninja99’s picture

i have tried adding 'frameborder: 0;' to my lightframe link, so is this fix still not in lightbox2?

fabianderijk’s picture

Status: Active » Needs review
StatusFileSize
new794 bytes

This issue still exists. Ive added a patch for the current (6.x-1.11) version.