Closed (fixed)
Project:
Greybox
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Feb 2007 at 20:22 UTC
Updated:
28 Jul 2007 at 11:15 UTC
I recently implemented Greybox Redux on a soon-to-launch site. Using it for a screenshot page, I scrolled down about half-way and clicked an image. No greybox... Rather, it was at the top of my page requiring me to scroll up.
Some Google searching later I found a solution at http://jquery.com/blog/2006/02/10/greybox-redux/. Credit goes to Tom Zellman (http://www.feednut.com/). He replaces the GB_position function and adds another Javascript function call after $(window).resize(GB_position);.
I have attached greybox.js (v1.2) from the Greybox Redux module which includes Tom's new code. As far as I can tell it works fine under Drupal 5.1.
| Comment | File | Size | Author |
|---|---|---|---|
| greybox.js_.txt | 2.14 KB | rubicon-1 |
Comments
Comment #1
inforeto commentedThanks. I tried the file and worked instantly.
The extra code looks good and worked on firefox 1.5.0.9, opera 9.02 and ie6.
Comment #2
Gurpartap Singh commentedThanks! Committed to DRUPAL-5 branch.
Comment #3
(not verified) commented