The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Programming Fundamentals" Dec 02 - 2:00 PM Eastern

Automatic Scrolling from a part of the page.

  • # December 27, 2009 at 10:30 pm

    I have a section on my page where I want the following scenario:
    1. If the user scrolls to a particular section on the page, then after some time, say 1000 msec, the page automatically scrolls to some other section.
    2. This can be like, I can have a ‘Info Section’ on my page, and if the user is viewing that section, then the page automatically scrolls to my Footer section after 1000msec or so.

    I know the AutoScroll jQuery Plugin, but here I want the scrolling to happen without any ‘click’ event. I want to do this based on what section the user is viewing. I think that AutoScroll plugin functionality this can be triggered by finding which selector is in ‘focus’, but I am not sure how to achieve this.

    Please advise.


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed