When the image is displayed in lightbox, object gets an css element display: none.
Bug works in IE 6.x and FF 2.x
For example:
If you have an embed video object like this sample:
it hide the object by adding css element display: none.
I think this happens after the patch of issue 224773.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | hideselect.patch | 954 bytes | kndr |
| #1 | lightbox2_231368.patch | 1.16 KB | stella |
Comments
Comment #1
stella commentedThe attached patch should fix it for the normal lightbox2. The fix for lightbox2 will have to wait until I return in April.
Cheers,
Stella
Comment #2
jmav commentedThanks for quick replay,
i couldn't apply patch on 5.x 2.5 version, mismatch problem, so i applied patch manually.
Problem has gone but when the image is displayed in lightbox frame, object element (typically video) is in front of picture.
I tried to set z-index on object element with -1 or 1 but th problem persist.
Page to test (with applied lightboxv2 patch):
http://www.euforija.si/novice/video-pokal-uefa-osmina-finala
Comment #3
kndr#1 doesn't work very well but the idea is ok. Instead select[display!='none'] we should use select:visible. I've attached patch.
Comment #4
omnyx commentedsame problem here - will try the newest patch.
Comment #5
stella commentedI've implemented the patch supplied by kndr in #3.
jmav: is the problem still occurring for you? Have you tried the patch in comment #3? alternatively, you can use the latest dev version of the module (out today).
Cheers,
Stella
Comment #6
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #7
stella commentedReleased in Lightbox2 6.x-1.6 and 5.x-2.6.
Cheers,
Stella