How to set the scroll point of a jquery.localscroll plugin

JOHNFROG
JOHNFROG used Ask the Experts™
on
I have a localscroll plugin the same as you see in the "what we do' section of this link
http://themeforest.net/item/presenter-corporate-portfolio-html-template/full_screen_preview/166262

I have converted the entire page to an aspx but lets assume all the html is the same.

My question is - How would I force say the 3rd item to be the one that is displayed on form load?

I am a newbie to javascript but have been playing around with using a  RegisterStartupScript to immediately scroll to the 3rd (or any nominated) section.

My problem is I cannot find the right code that will perform this for me.

Here is a link to the page I have been trying to interpret fro a solution. (This is the actual pluggin I am working with.)
http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html

So, how can I override the default position (being the first div) and  determine the visible section of the wrapper div on form_load.

Here is the current code from the plugins.js file.

            $.localScroll.defaults.axis = 'y';
            $.localScroll({
                  target:  '#services-container',
                  queue:    true,
                  margin:   true,
                  duration: 1000
            });


Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Commented:
you can simulate an anchor click like this it is defaulted:

something like this:
http://stackoverflow.com/questions/773639/how-can-i-simulate-an-anchor-click-via-jquery

Author

Commented:
That was not exactly what I needed but it gave me some information that helped me achieve what i was looking for. Thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial