PDA

View Full Version : Moo Tools Scroll



w i l l
28 Mar 2010, 10:28 AM
Hi,

I'd like some help with my music site (check here for reference My link (http://www.darkaudio.co.uk)). Basically, the design is a bit messy because I'm not a web designer...I've sort of muddled through using iframes instead of Ajax. Anyway, I just want to sort out something small with the scrolls;

Is there a way of hiding the scroll to the right in the comments sections when a comment hasn't been made? As you can see it looks a bit odd with a black space, no comments and a scroll showing.

http://img94.imageshack.us/img94/1373/91816404.jpg

The scroll should only show when the comments height is larger than the available space such as this;

http://img651.imageshack.us/img651/982/94779686.jpg

If you know of a solution please email will (at) darkaudio.co.uk.

Many thanks.

Jason
29 Mar 2010, 01:22 AM
If you want help it will appear on this forum, not be e-mailed to your inbox.

Just a stab in the dark here but you could reduce the default height of the scollbox.

Currently it is:


div.scroller .scrollarea {height:294px;}

If you reduce this number slightly then I assume that the scrollbox will only appear when comments are made.