Needs review
Project:
Lightbox2
Version:
6.x-1.9
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Feb 2009 at 00:10 UTC
Updated:
28 Sep 2011 at 08:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
vejnoe commentedHi, 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.
Comment #2
Mark Theunissen commentedConfirm that the fix works. Would love to see this patched in the next version, thanks!
Comment #3
akalata commentedI 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.Comment #4
drupal@guusvandewal.nl commentedThank you, this works great for IE6 (yuck) and IE7!
Comment #5
lamp04ka commentedIt works! Thanks
Comment #6
ashhishhh commentedThanks.. its really works
Comment #7
toomanypets commentedWith 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>');Comment #8
drupalninja99 commentedi have tried adding 'frameborder: 0;' to my lightframe link, so is this fix still not in lightbox2?
Comment #9
fabianderijkThis issue still exists. Ive added a patch for the current (6.x-1.11) version.