From: Geoff Cox on
Hello

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?

Cheers

Geoff
From: Martin Honnen on
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/
From: Geoff Cox on
On Mon, 05 May 2008 16:19:01 +0200, Martin Honnen <mahotrash(a)yahoo.de>
wrote:

>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);

Thanks Martin!

Cheers

Geoff