It might help to see an example online. It sounds like you want to scroll the window based on a specific scenerio. You may need the following plugins:
http://www.freewebs.com/flesler/jQuery.LocalScroll/ OR http://www.freewebs.com/flesler/jQuery.ScrollTo/ AND http://brandonaaron.net/docs/dimensions/ Specifically, I am thinking that you use the dimensions plugin to detect where the bottom of the viewport is, then IF the bottom of the viewport is HIGHER than the bottom of the thing you are opening, you should use the scroll plugin to scroll down to the bottom of the page. Does that sound right? On Dec 13, 2007 5:09 AM, Jason <[EMAIL PROTECTED]> wrote: > > Here is the source. This is a navigation . when the mouse over > "Menu1" , the items will show up. > It will work well in most case. But what if there are so many items > that will exceed the bottom of the client window. > The scrollbar will show up in the web browser .What I want is to > add a new item or something just upon the item exceed the bottom. And > when the mouse hover on it ,the items exceeded the bottom will move > up . Anyone can help me ????? > <div> > <ul class="nav" > > <li> > <a href="#" >Menu1</a> > <ul> > <li>item1</li> > <li>item1</li> > <li>item1</li> > </ul> > </li> > <li> > <a href="#" >Menu2</a> > <ul> > <li>item1</li> > <li>item1</li> > <li>item1</li> > </ul> > </li> > </div> >