sticky sidebars in several div
<p>i got for each div an sidebar and i wanted do get all the sidebars  by scrolling down fixed. </p>

<p>you can find it here </p>

<pre><code>var tmpWindow = $(window),
    sidebar = $('.sidebar'),
    sidebarHeight = sidebar.height(),
    offsetBottom = $('.content').outerHeight();

$(window).scroll(function() {
    if ($(window).scrollTop() &gt;= sidebarHeight) {
        $('.sidebar').addClass('fixed');
        alert(sidebarHeight);
    } else {
        $('.sidebar').addClass('fixed');
    }
});
</code></pre>

<p><a href="http://jsfiddle.net/dLdvv6um/" rel="nofollow">http://jsfiddle.net/dLdvv6um/</a></p>

<p>if i use the js it will disappear...</p>