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.

CommentFileSizeAuthor
#3 hideselect.patch954 byteskndr
#1 lightbox2_231368.patch1.16 KBstella

Comments

stella’s picture

Status: Active » Fixed
StatusFileSize
new1.16 KB

The attached patch should fix it for the normal lightbox2. The fix for lightbox2 will have to wait until I return in April.

Cheers,
Stella

jmav’s picture

Thanks 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

kndr’s picture

StatusFileSize
new954 bytes

#1 doesn't work very well but the idea is ok. Instead select[display!='none'] we should use select:visible. I've attached patch.

omnyx’s picture

same problem here - will try the newest patch.

stella’s picture

I'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

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

stella’s picture

Released in Lightbox2 6.x-1.6 and 5.x-2.6.

Cheers,
Stella