Closed (fixed)
Project:
Lightbox2
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 May 2013 at 17:26 UTC
Updated:
28 Jun 2013 at 16:20 UTC
Hi, this is the line of code I am using in my views template to change the output of the title link:
print l($row->node_title,'node/'.$row->nid, array('attributes' => array('rel' => array('lightframe[|width:970px; height:466px;scrolling: none;]'))));
If I use lightmodal, I get the lightbox, in all browsers. But if I use lightframe, only IE 8/9/10 does not work. (It falls back to going directly to the node page).
Anyone else experiencing this or knows how to fix it?
Comments
Comment #1
dianacastillo commentedI have the same problem, the lightframe doesnt work for me in IE 8/9/10
Does anyone have a solution?
thanks
Comment #2
xamountChanging to critical as the lightbox is pretty useless for IE users.
Comment #3
dianacastillo commentedcan anyone tell me which of the other similar modules do work for IE ?
Comment #4
xamountThe patch at comment #21 for this issue solved this problem: #483798: rel attribute lightframe disappears if I fill in a width
Comment #5
xamountComment #6
dianacastillo commentedI tried this patch The patch at comment #21 for this issue solved this problem: #483798: rel attribute lightframe disappears if I fill in a width
and it did not work, in IE it still does not work (the iframe does not load). In addition my height parameter that I had set stopped working in Firefox . So that is not the solution.
Comment #7
xamountCan you paste your code for the call to the lightbox?
Ideally, you want to remove any extra white spaces and take out the overflow and scrolling calls. That is, only try width and height.
So for e.g. a call to a lightframe with the patch applied will look like this:
print l($sq_ia_image, 'node/' . $row->nid, array('html' => TRUE, 'attributes' => array('rel' => 'lightframe[|width=970px;height=466px;]')));This worked for me in IE 9/10
Comment #8
dianacastillo commentedHere is the code which doesnt work in IE but works in the other browsers:
thanks for any help you can give me.
Comment #9
xamountSo apply the patch and try this:
Comment #10
dianacastillo commentedI took away the scrolling so its like this now:
and reapplied the patch and got the same results. the height no longer works on firefox and it still doesnt load in IE
Comment #11
xamountyou have to use = instead of :
Also take out the whitespaces
Look at the code I pasted again.
Comment #12
dianacastillo commentedHi, okay I removed the white spaces and changed the : to = and now with the patch it works well with Firefox , but with IE I still get this in the popup window:
"Please upgrade your browser
The browser you're using is not supported and seems to be outdated. Click on icons below to download the newest version of your favorite web browser"
this even happens in IE when I have no height or width , such as :
Comment #13
xamountWhat version of IE are you testing on?
Comment #14
dianacastillo commentedokay , I just found out it's something to do with that site infogr.am since when I call another site it works with IE. so the issue is fixed. thanks
Comment #15
dianacastillo commentedits with IE 10 by the way.
Comment #16
xamountok great to hear. Glad I can help out!