Memory Block is awesome.
Could you insert a little arrow next to blocks indicating whether they are open or closed? Like what is already done for menu?
Some users aren't aware they can click on a closed block.

Comments

silviogutierrez’s picture

I was going to add them, but I decided to leave it up to the person using the module to do, that way they can add their own custom CSS, without crowding the page header with yet another CSS file request.

In case you want to add a little indicator, blockTopOpen and blockTop are the classes of the h3 titles. To see what I did, go to my site, http://the.failbo.at , and take a look.

Silvio

physiotek’s picture

hi
i am not a css pro
i am just wondering how you coded this in your css file...
tried :

.blockTopOpen H3{
               BACKGROUND: #000000;
}
.blockTop H3{
               BACKGROUND: #ffffff;
}

without success...
thanks,
pht3k

physiotek’s picture

please!?

silviogutierrez’s picture

Hey,

This is what I used:

#leftColumn .blockTop h3 {
background:transparent url(icons/up.png) no-repeat scroll left center;
}
#leftColumn .blockTopOpen h3 {
background:transparent url(icons/down.png) no-repeat scroll left center;
}

Hope it helps.

Silvio

physiotek’s picture

yes it helps!
http://www.physiotek.com/drupal/
thanks!

silviogutierrez’s picture

Hey I went to your site, and it looks really neat!

One suggestion: add the following to the CSS for the blockTop h3: "cursor: pointer;".

This will make it look like something clickable.

Glad I helped,

Silvio

physiotek’s picture

thanks for your suggestion.
and btw your site is awesome too.
pht3k