Click here to get back home

how to force page down to see AJAX return info?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
how to force page down to see AJAX return info? Geoff Cox 05-05-2008
Posted by Geoff Cox on May 5, 2008, 9:56 am
Please log in for more thread options
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

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/

Similar ThreadsPosted
AJAX IDE--The Release of JoyiStar AJAX WebShop 3 Beta December 13, 2006, 12:20 am
closing page with AJAX March 7, 2008, 11:44 am
A Web Development QUICK LINK PAGE (QLP) - HTML, Perl, PHP, JavaScript, AJAX, CGI, etc. May 1, 2007, 8:02 pm
How to force a page to be into a frame? October 8, 2005, 5:47 am
Force Page-break when printing February 2, 2006, 11:44 am
Group for AJAX? February 20, 2006, 11:45 am
Picker (Ajax?) July 14, 2006, 5:38 am
PC IE6 & Prototype AJAX October 28, 2006, 8:16 pm
Recommend an AJAX IDE January 9, 2007, 2:04 am
Can AJAX dealing with XSLT instead DOM? November 14, 2006, 8:34 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap