Page 1 of 1

button and mouse control

Posted: Thu Sep 23, 2004 3:49 am
by itsmani1
hi there....

i want to do something like that

a dynamic button that shoudl behave like when mouse rolled over it should change its location. is there any function in php that can do it for or i hav to write my onw one???

if there is any plz. tell me.


Regards.

Posted: Thu Sep 23, 2004 4:01 am
by cravikiran
Hmm, the message is a bit confusing. However, most "dynamic" stuff that you describe would be done through something client side like javascript.

Posted: Thu Sep 23, 2004 4:09 am
by itsmani1
ya caravikiran

its possible in java script but i want to know,
is that possible in php?

Thankx

no

Posted: Thu Sep 23, 2004 4:33 am
by phpScott
No it is not possible in php without resubmiting the page or using Iframes which will come back to using some javascript any way to manipulate the page.

PHP is server side and has no control over the client machine.
Once PHP leaves the server it can't do any more manipulation of the page.

Javascript is client side so it can do what it wants(within the given rules) on the client machine.

phpScott

Posted: Thu Sep 23, 2004 4:36 am
by itsmani1
ok thankx buddy :)