Home > Archive > PHP Language > July 2006 > mouse events
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| chsadaki@hotmail.com 2006-07-23, 6:56 pm |
| Hi
I just started using php few month ago, and I looked a lot for
functions that handles mouse events like mouse click, drag,.... but I
found nothing. Is there functions in php that handle the mouse's event
or no???
thanx in advance
| |
| David Haynes 2006-07-23, 6:56 pm |
| ch aki@hotmail.com wrote:
> Hi
> I just started using php few month ago, and I looked a lot for
> functions that handles mouse events like mouse click, drag,.... but I
> found nothing. Is there functions in php that handle the mouse's event
> or no???
>
> thanx in advance
>
Short answer: no.
Longer answer: PHP operates on the *server* side not on the *client*
side. There is no mouse attached to the server.
-david-
| |
| Andy George 2006-07-23, 6:56 pm |
| ch aki@hotmail.com wrote:
> Hi
> I just started using php few month ago, and I looked a lot for
> functions that handles mouse events like mouse click, drag,.... but I
> found nothing. Is there functions in php that handle the mouse's event
> or no???
No. A mix of PHP and HTML might be better suited to what your
imagining. HTML will handle the mouse and execute a piece of PHP code
when that happens, perhaps?
Juggle with it, and see how you go.
| |
| Ørjan Langbakk 2006-07-23, 6:56 pm |
| Den 23.07.2006 19:31, skriblet Andy George følgende:
> ch aki@hotmail.com wrote:
>
> No. A mix of PHP and HTML might be better suited to what your
> imagining. HTML will handle the mouse and execute a piece of PHP code
> when that happens, perhaps?
>
> Juggle with it, and see how you go.
HTML can't handle mouse events - javascript can. PHP and javascript
combined should provide the solution for the original poster with
whatever he wanted to do.
--
mvh
Ørjan Langbakk
http://www.bergenpchjelp.no
http://www.cubic-design.net
|
|
|
|
|