HighDots Forums  

how to force page down to see AJAX return info?

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss how to force page down to see AJAX return info? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Geoff Cox
 
Posts: n/a

Default how to force page down to see AJAX return info? - 05-05-2008 , 08:56 AM






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

Reply With Quote
  #2  
Old   
Martin Honnen
 
Posts: n/a

Default Re: how to force page down to see AJAX return info? - 05-05-2008 , 09:19 AM






Geoff Cox wrote:

Quote:
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/


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.