The floating divs were all rendering as very tall and thin. I added

#homebox {
	width: 950px;
}

to my stylesheets which has helped a lot, but my top 100% region seems to also take 100% height pushing down the other columns. Any ideas? I've added a screenshot of the problem. Everything is fine in FF and Webkit

CommentFileSizeAuthor
homebox-ss.png26.94 KBniccottrell

Comments

niccottrell’s picture

Ok, for some reason IE returns "WIDTH:100%" while the code is checking for lowercase and with a semicolon. I've changed the function in homebox.js to:

Drupal.homebox.equalizeColumnsHeights = function(columns) {
  maxHeight = 0;
  $columns.each(function() {
    if ($(this).parent('.homebox-column-wrapper').attr('style').match(/width: 100%/i)) {
      $(this).height('auto');
      currentHeight = $(this).height();
      if (maxHeight < currentHeight) {
        maxHeight = currentHeight;
      };
    };
  }).each(function() {
    if ($(this).parent('.homebox-column-wrapper').attr('style').match(/width: 100%/i)) {
      $(this).height(maxHeight);
    }
  });
  
  return $columns;
};

Maybe this can be included in the next release?

niccottrell’s picture

Status: Active » Needs review
brianV’s picture

Status: Needs review » Fixed

Fixed:

http://drupal.org/cvs?commit=493698
http://drupal.org/cvs?commit=493694

-by brianV: Match column widths with case-insensitive regex rather than exact match in homebox.js due to IE irregularity.

Status: Fixed » Closed (fixed)

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

cesargalindo’s picture

see http://drupal.org/node/955072 #28 for solution