Closed (fixed)
Project:
Lightbox2
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Dec 2008 at 10:05 UTC
Updated:
22 Jan 2009 at 13:50 UTC
origin of de bug from http://drupal.org/user/66894 (separate support request).
OK, for me the probleme is solve by adding this code after the line 465:
$('#frameContainer').append('<iframe id="lightboxFrame" style="display: none;" src="'+src+'"></iframe>');
,
if ($.browser.mozilla) { //because the probleme is not on IE
if (src.indexOf(".swf") != -1) { //because the probleme is on swf
setTimeout(function () {
document.getElementById("lightboxFrame").src = Lightbox.imageArray[Lightbox.activeImage][0];
}, 1000);
}
}It is maybe the same kind of think of the PDFs on line 648 ?
Merci, to have a look to that...
Comments
Comment #1
steveoriolOups ! the origin of this issue is http://drupal.org/node/350049 not
http://drupal.org/user/66894(link to Stella).and file I change is "lightbox.js"
I can change "my Comment" but not "my Issue" sorry for that.
Comment #2
stella commentedThanks! I've committed this and it will be included in the next dev release, available later today.
Comment #3
stella commentedReleased in Lightbox2 6.x-1.9 and 5.x-2.9.
Cheers,
Stella