block indicator

agilpwc - September 8, 2007 - 15:44
Project:JSFX
Version:5.x-1.0
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

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.

#1

silviogutierrez - September 8, 2007 - 18:12

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

#2

pht3k - October 31, 2007 - 05:18

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

#3

pht3k - December 16, 2007 - 19:39

please!?

#4

silviogutierrez - December 17, 2007 - 04:11

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

#5

pht3k - December 18, 2007 - 05:45

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

#6

silviogutierrez - December 18, 2007 - 23:41

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

#7

pht3k - December 19, 2007 - 03:46

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

 
 

Drupal is a registered trademark of Dries Buytaert.