I wasn't sure whether to mention this or not, but I looked through the list and didn't see anything similar.

As you'll see from the screenshots, there are a few problems with my copy of Lightbox2 6.x-1.8 in Drupal 6.3 with Firefox and IE (6 and 7 are the same). I see the following issues:

  • Firefox displays horizontal scrollbar - always
  • Firefox (always) and IE (sometimes) position the controls incorrectly
  • The ESC key doesn't close the window in any browser, ever - should it?

As an experiment, I've removed Lightbox2 and replaced it with 6.x-1.x-dev and now, in Firefox the controls are positioned correctly, but there's still a horizontal scrollbar. In IE it no longer fires Lightbox at all for the same URL. Odd.

Let me know if you want more info. Cheers Stella!

Al,

Comments

stella’s picture

Status: Active » Fixed
StatusFileSize
new1020 bytes

The attached patch will fix the positioning of the zoom in / out buttons in the alternative layout. The positioning of the zoom and close buttons in the default layout was fixed in a previous issue #276891: "X" mark (close) is wrong formatted in Firefox 2.0.0.14, which is why it doesn't happen in the dev version.

The scrollbar issue was also raised in the same issue. A patch was provided but subsequently rolled back as it sometimes caused the overlay to not cover the full page. It only happens in Firefox and is due to the fact that FF includes the width of the vertical scrollbar in the window width.

I don't know why it's not working for you in IE. Can you provide more information? Do you get any errors? Perhaps you could send me a link to your site. My contact form is enabled if you wish to do so privately.

Cheers,
Stella

ajaysolutions’s picture

Thanks, I've sent you a link to my site if you'd like to test it in IE. I've tried IE6 and IE7 on two machines (XP and Vista respectively).

How do you apply a patch file please?

Thanks!

Al,

ajaysolutions’s picture

StatusFileSize
new57.94 KB

In a related issue, which might be fixed by the same code, I've been trying out the iframe in Lightbox2, and it's not displaying the X to close the window in IE or Firefox (see crude screenshot).

Stella - you can test this on the URL I sent you, if you scroll down the page to near the bottom of the table and click on either of the SEO links.

Thanks!

Al,

stella’s picture

I've just taken a look at your website (that you sent me via email) and lightbox2 is not installed, so I can't investigate the issue.

Cheers,
Stella

stella’s picture

StatusFileSize
new818 bytes
new818 bytes

Try the attached patch, or the latest dev release, available later today. If the patch doesn't apply cleanly, you will need to use the latest dev release instead.

Cheers,
Stella

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

lameei’s picture

Stella
in IE7 placement of the zoon in/out is incorrect and the close button (X) does not appear. I'm using the dev release of tow days ago. in FF everything is OK.

stella’s picture

I can't reproduce this issue. Please ensure that you ran update.php when you upgraded and that you cleared the browser cache before re-testing. If it's still happening, please provide a link to your site. My contact form is enabled if you wish to do so privately.

Cheers,
Stella

lameei’s picture

I'm developing the site offline right know. i think it will be on in a few days and you can check it out.

lameei’s picture

Hi stella
now the test version of the website is online. would you please check it out?
here is the link: Rooyeshngo

stella’s picture

lameei: that's actually an issue with right-to-left languages in IE7. The next dev release, available in the next 12 hours should have a fix for the zoom placement issue. Not sure about the X button one, can't seem to fix that. If you use the alternative layout it all works though.

Cheers,
Stella

lameei’s picture

Thanks
Alternative layout works good in both IE7 and FF3.

stella’s picture

Released in Lightbox2 6.x-1.9 and 5.x-2.9.

Cheers,
Stella