Get your own customer support community

Recent activity

Subscribe to this feed
  • question

    johnpg82 replied on January 09, 2009 18:43 to the question "Overflow Scrollfollow" in Net Perspective:

    johnpg82
    Nevermind I figured it out. I had to modify the jquery.scrollFollow.js. I modified

    From

    var pageScroll = $( document ).offset().top;

    To

    var pageScroll = $( "#master_container" ).offset().top;


    AND

    From

    $( document ).scroll( function ()
    {
    ani( box, initialTop );
    }
    );

    To

    $( "#master_container" ).scroll( function ()
    {
    ani( box, initialTop );
    }
    );


    #master_container being the id of the div that scrolls.

    Now if you want the object to scroll when the body scrolls also you would probably have to keep both sets of code. This is just a guess and is untested.
  • question

    johnpg82 asked a question in Net Perspective on January 09, 2009 18:32:

    johnpg82
    Overflow Scrollfollow
    I have a div that I have set to overflow auto and when I try to use the autoscroll it will only scroll if the body scrolls but I can't get it to work if the "master_container" scrolls