views:

77

answers:

3

Does anyone know of a great jquery scrollable div (scrolls with window.scroll) that will only scroll within a div, i dont want to use position:fixed; as people have small browsers and might have it smaller than my div and cut it off?

+1  A: 

Have you considered ScrollTo?

Jonathan Sampson
+3  A: 

Have you happened to try

div { overflow: scroll; }
Daniel A. White
A: 

Try:

<div class="scrolling"> 
 If I put too much content in this div such that it overflows it size, scrollbars will appear.
<div>

<style type="text/css"> 
  div.scrolling { height: 100px; width: 100px; overflow: auto; } 
</style>
Plan B