It seems that when the expand icon appears, when using the plus version, that the close button is moved down. The result of this is that it becomes displayed off of the main window, requiring users to scroll down in order to close.

Let me know if this is just a configuration issue. Thanks.

Comments

bugz_nz’s picture

Status: Active » Fixed

This issue has been fixed in the latest CVS version. Download and install that.

ph0rse’s picture

It seems like the latest CVS build is from June 8th, is there any other way for me to get the latest CVS build?

bugz_nz’s picture

None of the changes I have made to the module since June 8 have been stable enough to release to the public, however, if you check the CVS message log, you will see that June 8 was when the fix was applied for this particular issue - that CVS version will suffice.

http://drupal.org/project/cvs/55200

ph0rse’s picture

Priority: Minor » Normal
Status: Fixed » Active

It seems that the June 8th fix definately moved the close button to its correct spot. The only issue now seems to be that it seems like the hyperlink didn't follow. By this I mean that in order to close the window, you have to click the hyperlink which appears below the actual close button.

If this sounds cryptic, a live example running the June 8th CVS can be viewed at http://www.cityoftaylor.com/image/tid/12

Thanks for your assistance with this issue.

bugz_nz’s picture

I've looked at your site and the close button works exactly as it should. Tested with Firefox 1.5 and IE 6.

krwester’s picture

I have the same problem on a private family portal that I run. I just checked the site mentioned earlier, and the problem is by no means fixed.

In essence, for large images, the "close button" does not work. It appears in the right spot, but it does not appear to be hyper linked. Just wanted to add my confirmation to this problem. Any ideas on a fix would be greatly appreciated.

krwester’s picture

ok, I think I found a solution. In your css file find the #imageData #bottomNavClose attribute.

Then replace that whole thing with:
#imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 1.3em; position: relative; top: 5px}

Finally, add the following:
#imageData #bottomNavZoom{ width: 66px; float: right; padding-bottom: 1.3em; position: relative; top: 5px}

The second one is optional. It just helps with the scrolling down of the "close" gif.

krwester’s picture

Turns out the solution above was just coincidence. The real fix is as follows:

Replace

#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	}

with

#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height:0;
	}
Tresler’s picture

The above CSS solution works with IE, but not with Firefox. The close button still reders the actual link below the close icon, and the close icon does nothing. It fixed the positioning in IE though.

IE works but firefox doesn't, whats next, cats chasing dogs?

Tresler’s picture

Strike that. Now its fine with FF. sorry.

jubakjell’s picture

It fixed the problem in FF (and possibly IE, I haven't tried), but it seems to remain in Safari.
For some reason, Safari won't find the close button GIF, and it places the link below the image. As described above.

jubakjell’s picture

Aaagh, sorry about this, but just as I pressed the submit button I thought of emptying the Safari cache.
The button started to show up, and the link appears to be almost at the right spot, but still a bit low. It is acceptable, but not perfect.

dr00b’s picture

Hi, just wanted to chime in and say that the second fix worked for me as well in FF 2x. Thanks for the suggestion, that was a minor but annoying little bug.

stella’s picture

Assigned: Unassigned » stella
Status: Active » Fixed

Should be fixed in both lightbox2 4.7.x-1.0 and lightbox2 5.x-1.1.

Cheers,
Stella

stella’s picture

Status: Fixed » Closed (fixed)