|
Posted by Mladen Gogala on 08/03/05 06:50
On Tue, 02 Aug 2005 14:56:30 -0700, bissatch wrote:
> Hi,
>
> When I scroll my browser window, how do I get the value in pixels of how
> much of the page I have scrolled?
>
> Cheers
>
>
That is extremely simple. PHP runs on the server, usually within the
context of the httpd process. Browser runs on the client. The two are
connected through HTTP protocol which doesn't give away the cursor
position to the server. That means that your browser does not tell the
server about anything you are doing, as long as it is not defined by HTTP,
like, for instance, pressing a submit button. If it does, then you have
spyware on your system. In other words, you're asking for an impossible
thing. The language that runs on the clients is Javascript or, in some
very bad and dangerous cases, visual basic.
--
http://www.mgogala.com
[Back to original message]
|