"Glenn" <gl*********@yahoo.com> wrote in
news:11**********************@f14g2000cwb.googlegr oups.com:
Is it possible to only redraw a portion of an HTML page as part of a
request?
Technically, yes, but that would be browser-specific behaviour
that would have to compare the 'prior page' with the 'current page',
and only redraw the changed portions. In other words, it's
not under your control.
With each request, I am updating number of results but do not
want to lose where you were in a page. I created anchors at different
parts of the page but even this is a bit jumpy. Is there any other way
to implement this?
Use server-side scripting. For example, have the page be
a PHP page, and initially serve the 'start page'. The user
makes a request, and the PHP script does some processing,
and presents the 'results page', which could be substantially
the same as the 'start page', but with a "summary of results".
If the "summary of results" is always at the top of the page,
then subsequent "requests" won't 'jump around', but always
just let the page display be the default.
Another possible option, which may not work in all browsers,
is to use PHP to output results as you do the processing, by
flushing the output buffer.
--
Dave Patton
Canadian Coordinator, Degree Confluence Project
http://www.confluence.org/
My website:
http://members.shaw.ca/davepatton/