Hello!

I think very simple question, but I am very new to jquery...
For example, I have the next code:

        $('#info').hide();
        $('a#show_hide_info').click(function(){
            $('#info').toggle();
        });

So when a user click on #show_hide_info, #info element become visible
or invisible.
But the #show_hide_info element is placed on the top of the page and
the #info element is on the bottom of the page. The bottom of the page
isn't visible to the user because the page is too long.
So when user clicks #show_hide_info he doesn't see any effect because
#info element is several screens down.
How should I scroll down the page to the #info element when user
clicks #show_hide_info???

Sorry if my English is not very good.
Thank you in advance.

With regards,
Max.

Reply via email to