Acquia Prosper downloads with the eCommerce install profile - http://drupal.org/project/uberdrupal

When using floating block on the left hand side bar (#sidebar-first) it falls behind all other divs when its time for it to scroll. It looks like it loses its width attribute and the #main div floats over top of it. If I knew module development I'd try to fix it myself.

Thanks!

Comments

greggmarshall’s picture

StatusFileSize
new34.6 KB

I think I am seeing related behavior but in a different, completely customized theme.

What I'm noticing is it would appear the js is rewriting the div that defines the class I have put in the Floating Block configuration.

So my page.tpl.php contains (along with a huge bunch of stuff)
<div class="grid_4">

When I inspect the element with Chrome I see
<div class="grid_4 blockFloat-processed blockFloat-0" style="left: 1480px; position: static; top: 114px; ">

Not sure what the style is trying to accomplish, but I have noticed that the computed width has changed from the 215px width I would expect from the theme to about 575px. It would appear that the js is looking at the content, calculating the width of the longest piece, then using it? I really haven't had time to look at what's going on in the js, but if I disable the block that has the extra wide content, the width goes back to more/less what I would expect and all works ok.

But with the wide content enabled, I get the wider sidebar which displays "ok" in Chrome, but pushes the whole sidebar below the footer in FireFox.

I hope this extra data proves useful.

Thanks.

alexpott’s picture

Status: Active » Fixed

I've added themeswitcher to http://dev.vit-al.co.uk/floating_block and installed acquia_prosper - using latest dev version of floating block there are no issues.

Status: Fixed » Closed (fixed)

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