Hi there, one for themers I think,
I'm currently involved in developing a site in 5.1 where we have added the .style_bottom class for our blocks so that we have an image to give us curved corners at the bottom of our blocks.
Fairly standard. We also wanted to implement collapsible blocks, because they're a nice feature to give the end-user.
However, these two elements do not play nice with one another. When you collapse a block it of course rolls the lower content up to the title. This leaves us with the background image of the .title sort of dangling its edges forlornly and looks decidedly ugly.
The ideal would be for the .style_bottom part of the block to roll up when the block collapses so that it meets the .title elements, thereby making a nice condensed block, effectively just cutting out the middle. If you're following me so far then you're doing well.
So far I can only think of one way to achieve this and it isn't particularly efficient, (involving making a separate block that contains the .style_bottom graphic, touching the edge of the block above, so that you achieve the effect of the bottom of the block condensing when the block collapses.)
Does anyone have any experience with this or in fact any good ideas that might help me achieve what I'm after?
Many thanks in advance.