In IE8, FF3 and Chrome4 the popup displayed by clicking on a lightbox trigger field, loads the correct content as configured in the popup settings in the relevant view.
The modified DOM tree looks like the one in the attached image. (first image -- IEffChrome.png)

In Opera 10 however, when the lightbox trigger field is clicked, the popup displays nothing. On closer inspection, its not that it displays nothing, rather it seems to be copying the entire DOM including the part of the document, and dumping it into the popup div.
I've attached the DOM tree that gets created in Opera 10. (second image -- opera10.png)

CommentFileSizeAuthor
#15 Opera lightbox.PNG36.03 KBhwasem
#15 Firefox 19.PNG13.86 KBhwasem
opera10.png10.27 KBv-a-1
IEffChrome.png4.74 KBv-a-1
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

v-a-1’s picture

correction in the post above -- second para, second line:
On closer inspection, its not that it displays nothing, rather it seems to be copying the entire DOM including the 'head'/ part of the document.

v-a-1’s picture

No one seems to have looked into this! Its been two months. The problem persists in the newer release of opera.
Please someone, anyone.... respond. At least acknowledge that the problem has been looked into.
Maintainers, where are you!!?

v-a-1’s picture

Priority: Normal » Critical
v-a-1’s picture

just bumping this for a look.
Some one please respond. Or at least verify that it got recreated on their end.

sleeves’s picture

I am having this same problem. Please anyone?

Romejoe’s picture

I have the same problem as well!
since upgrading to new version of LB2 he does link to wrong destination!

I let Imagefield or Image point to a URL but Lightbox opens a bigger picture instead!

temp’s picture

Version: 6.x-1.x-dev » 6.x-1.11

I have same problem! in opera (11.01) but i don know how solve it.
meanwhile samples from http://www.stellapower.net/lightbox2 work correctly

astro87’s picture

I have the same problem in Opera 11, in lightbox I see entire site without some styles (like iframe), why it doesn't show the picture?? Anyone solved this?

jdln’s picture

Has anyone used any method to detect Opera and provide a work around?

So maybe you could use conditional stylesheets to hide the lightbox link on opera, or use php to detect the browser and print a normal link instead of the lightbox?

Thanks

jdln’s picture

If this isnt going to get solved does anyone know how to link to a node but not include the whole page (header, side bars, etc)? If its possible to do then you could create a lightbox link manually by writing the jquery.

zegmant’s picture

+1
the same problem.
opera 11.5, drupal 6.22, views 2.12, lighbox2 1.11 (everything the freshest)
one can see it on http://muller.pp.ua/career.

can anybody help or make some suggestion?

=====
jdln - your answer here- http://drupal.org/node/252260

mailfox’s picture

the same problem http://gorpom.ru/video Opera ver: 12.16 bild:1860 OS: Windows 7

Juc1’s picture

I have the same problem in Opera 12.16 - the popup is just an image but Opera loads the entire page. @ mailfox did you find any solution? Your video lightboxes seem to load ok for me in Opera.

mailfox’s picture

@juc1 Lightbox2: Image Thumbnail -> Full Size Video in views

hwasem’s picture

FileSize
13.86 KB
36.03 KB

I am having this problem with Windows 7/Opera12.16 workstation, Drupal 7.23, Lightbox2 7.x-1.0-beta1+9-dev (2013-Sep-30).

I'm not using an image or video, just using views to display a body field in the lightbox. In another instance where I'm using lightbox, I'm using Views and Lightbox to display some formatted text fields.

Instead of the field content, the entire page displays (including header, nav, etc) in the lightbox with scrollbars. It works great in FF, IE9, Chrome, Safari. I've attached an example in Opera and one working correctly in Firefox 19.

I know this is a report for Drupal 6, but it is the same problem so possibly the same fix. The D7 reports have no comments in them. Has anyone found a solution?

Best,
Heidi

mailfox’s picture

try to add css

#outerImageContainer {
height: your_value;
width: your_value;
overflow: hidden;
}

or

/*css hack 4 opera*/
@media all and (-webkit-min-device-pixel-ratio:10000),
#outerImageContainer {
height: your_value;
width: your_value;
overflow: hidden;
}
}

hwasem’s picture

Thank you, mailfox, for your response to this. I had already switched over to Colorbox since I had spent way too much time looking for solution. I'lll definitely revisit your css comment if I need to switch back for some reason.

Best,
Heidi