Hi All

I'm trying to use scrollTo() plugin.
When user clicks on some button, I create a new element in the DOM at
some place below this button.
And if it's outside of visible page area - I want page to be scrolled
to that new element.
But I don't want to scroll till the element will be in the left-top
corner, but till it will be in the bottom of the visible page area,
but with all content shown.

I probably need to specify somehow position = the element - window
height + element height.
But I'm not so good in JavaScript.

Any help will be greatly appreciated!

Ivan..

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to