Ugo Cei wrote:

Il giorno 09/set/04, alle 18:51, Sylvain Wallez ha scritto:

About vertical position, I've been thinking about sending it in a hidden field along with other form values, so that it can be sent back in order to set it whenever the form is redisplayed. Just a workaround the problems you mention below though.


I wasn't even aware that you could determine the scrollbar's position, not to mention setting it.


It's available in most browsers in strict mode using either document.documentElement.scrollTop or document.body.scrollTop.

See http://www.quirksmode.org/viewport/compatibility.html

If you click the reload button, the browser asks you if you want to resend your POST request (try to explain this to your customer).



Well, your customer must be very new to web browsers if he never saw this message before...


Yes, some of them are not familiar with using the Internet at all, besides causal surfing.


:-)

Sylvain

--
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }



Reply via email to