Hello,
i have implented homebox perfectly for my project,
I have 6 colums with blocks in it, now is my problem that the top 3 columns have abnormly lenght ( for a preview see the attachement).

does anyone know how to change it or let it change it ?
thanks
Merlijn

CommentFileSizeAuthor
homeboxproblem.png156.7 KBmistermerlijn

Comments

mistermerlijn’s picture

anyone ?

mistermerlijn’s picture

I tried searching in the php files but didnt find anything.
a little help is very helpfull, especially around this time :)

Merlijn

mistermerlijn’s picture

Assigned: mistermerlijn » Unassigned
mistermerlijn’s picture

Assigned: Unassigned » mistermerlijn

Please help, i tried changing the

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

with


Drupal.homebox.equalizeColumnsHeights = function(columns) {
  return $columns;
};

but that didnt changed it the good way :(

mistermerlijn’s picture

Assigned: mistermerlijn » Unassigned
mistermerlijn’s picture

this is a useless forum... very useless.....thanks for not supporting me....

mistermerlijn’s picture

For users who are searching for it and not having support too:

* Set all column heights equal
 */
 Drupal.homebox.equalizeColumnsHeights = function(columns) {
  
  maxHeight = 10;
  $columns.each(function() {
    if ($(this).parent('.homebox-column-wrapper').attr('style') != 'width: 100%;') {
      $(this).height('1100'); //was eerst auto, toen waren er stukken tussen de columns
      currentHeight = $(this).height();
      if (maxHeight < currentHeight) {
        maxHeight = currentHeight;
      };
    };
  }).each(function() {
    if ($(this).parent('.homebox-column-wrapper').attr('style') != 'width: 100%;') {
      $(this).height(maxHeight);
    }
  }); 
  return $columns;
};

check

$(this).height('1100');

this is normal auto but i changed it ( now its good for 1280x1024 too)

brianV’s picture

Status: Active » Fixed

This is long fixed in 6.x-2.x-dev. Marking as closed.

this is a useless forum... very useless.....thanks for not supporting me....

What makes you think we have an obligation to support you? Who did you pay for support?

Status: Fixed » Closed (fixed)
Issue tags: -columns length

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