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)
Comment | File | Size | Author |
---|---|---|---|
#15 | Opera lightbox.PNG | 36.03 KB | hwasem |
#15 | Firefox 19.PNG | 13.86 KB | hwasem |
opera10.png | 10.27 KB | v-a-1 | |
IEffChrome.png | 4.74 KB | v-a-1 |
Comments
Comment #1
v-a-1 CreditAttribution: v-a-1 commentedcorrection 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.
Comment #2
v-a-1 CreditAttribution: v-a-1 commentedNo 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!!?
Comment #3
v-a-1 CreditAttribution: v-a-1 commentedComment #4
v-a-1 CreditAttribution: v-a-1 commentedjust bumping this for a look.
Some one please respond. Or at least verify that it got recreated on their end.
Comment #5
sleeves CreditAttribution: sleeves commentedI am having this same problem. Please anyone?
Comment #6
Romejoe CreditAttribution: Romejoe commentedI 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!
Comment #7
temp CreditAttribution: temp commentedI have same problem! in opera (11.01) but i don know how solve it.
meanwhile samples from http://www.stellapower.net/lightbox2 work correctly
Comment #8
astro87 CreditAttribution: astro87 commentedI 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?
Comment #9
jdln CreditAttribution: jdln commentedHas 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
Comment #10
jdln CreditAttribution: jdln commentedIf 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.
Comment #11
zegmant CreditAttribution: zegmant commented+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
Comment #12
mailfox CreditAttribution: mailfox commentedthe same problem http://gorpom.ru/video Opera ver: 12.16 bild:1860 OS: Windows 7
Comment #13
Juc1 CreditAttribution: Juc1 commentedI 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.
Comment #14
mailfox CreditAttribution: mailfox commented@juc1 Lightbox2: Image Thumbnail -> Full Size Video in views
Comment #15
hwasem CreditAttribution: hwasem commentedI 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
Comment #16
mailfox CreditAttribution: mailfox commentedtry 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;
}
}
Comment #17
hwasem CreditAttribution: hwasem commentedThank 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