With drupal 5rc2 i had to remove

width: 400px;
height: 400px;

from #GB_window in order to use the settings provided in the admin/settings page.
Without it the height of the greybox window would shrink from its customized size to 400 px.
I'm not a developer, but I hope my findings might be of interest anyway. I've not tried to replicate the problem in other installations.

Anyways thanks for a great module! =)

CommentFileSizeAuthor
#3 greyboxIE.jpg56.2 KBGrinin
#2 greyboxFF.jpg49.87 KBGrinin

Comments

karol.haltenberger.old’s picture

if height is disabled from #GB_window in greybox.css, the DOM inspector (Firefox) shows the height property in the style_"" rule of the #GB_window div element

if it is not disabled, the above mentioned property disappears, all others remaining (width, left, display)

Grinin’s picture

StatusFileSize
new49.87 KB

I've got some strange problems with the popup window.

In firefox it doesn't look too bad but I have a vertical scroll bar for no reason.

In internet explorer it loads a horizontal and vertical scroll bar, but I can't figure out why.

If someone could please help me figure this out I would greatly appreciate it.

This first screenshot is the issue in Firefox.

Grinin’s picture

StatusFileSize
new56.2 KB

Here is the same issue, different effect in Internet Explorer 7

Any help would be appreciated.

You can reach me via the contact form on Drupal.org

Thanks!

Gurpartap Singh’s picture

Status: Active » Closed (works as designed)

The code is actually:

function GB_show(caption, url, height, width) {
  GB_HEIGHT = height || 400;
  GB_WIDTH = width || 400;

  .....

}

Here, height || 400 means get the height variable's value, and if it's not available, set it to 400.

Hope you have the right copy of greybox's js.