Cart Block - Overlay/Drop down cart

Hey guys,

Am trying to change the shopping cart block slightly so that it appears as a drop-down. I have managed to do the effect of the following sites:



However, the only thing I am stuck on is having the cart appear as 'on' when a product has been added to the cart. It always appears off as default. Any ideas of writing this conditional action? I am more of a themer so this is a little bit beyond me. :-)

Posted: Sep 11, 2012