# JS "Shelf"

**URL:** <https://forum.kirupa.com/t/js-shelf/206955>\
**Category:** web dev\
**Created:** [November 13, 2006, 2:43pm UTC](https://forum.kirupa.com/t/js-shelf/206955 "2006-11-13T14:43:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![simplistik](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simplistik/32/7747_2.png) [@simplistik](https://forum.kirupa.com/u/simplistik)\
**Post date:** [November 13, 2006, 2:43pm UTC](https://forum.kirupa.com/t/js-shelf/206955/1 "2006-11-13T14:43:41Z")

</div>

So I’m using this shelfing system… and it’s workin how it should and but I was wondering if anyone would be so kind to help me figure out how to make it so  
(a) it’s initial state is set to a specified height (which I can sorta do)  
(b) when it expands it expands to the full-height  
© when it collapses it collapses back down to the initial height

[http://www.monfx.com/journal/2006/08/01/sliding-ajax-shelf-the-code-behind-the-mask/](http://www.monfx.com/journal/2006/08/01/sliding-ajax-shelf-the-code-behind-the-mask/)

Would be great if anyone can help out.
