|
Posted by Martin Honnen on May 5, 2008, 10:19 am
Please log in for more thread options
Geoff Cox wrote:
> I have a <div> in which the returned AJAX info appears but IE and FF
> seem to deal with it differently. IE at the moment places it to the
> right of a set of other <div>s whilst it is just below the bottom of
> the page with FF.
>
> Is it possible to force the page to move down so that the returned
> info is visible without expecting the user to scroll down to find it?
You can call scrollIntoView on your div e.g.
divElementObject.scrollIntoView(true);
--
Martin Honnen
http://JavaScript.FAQTs.com/
|