Reply to Re: Advanced image tricks

Your name:

Reply:


Posted by Vincent van Scherpenseel on 10/01/05 18:16

Stefan Rybacki wrote:

>> I was wondering if it's possible to let a dot move to a position based on
>> the user input. I.e.: there's a certain area wherein the user clicks and
>> there's a drawn dot which moves from A to the position where the user
>> clicked. Is it possible to do this without reloading the page? Is it
>> possible to make it look as if the dot actually moves (so not only the
>> begin and end location, but also the travel from A to B)? Is this
>> possible within GD or some other image library?
>>
>> I hope I'm clear enough, if not, please feel free to reply :)
>
> You're definitely wrong here. PHP is a server side script language so, its
> impossible to do what you want. Better go to Flash, Java, Javascript or
> whatever runs on the client side.

Thank you for your reply. Yes, I do know that PHP is a server side language,
but I misphrased my question. I don't need to be limited to PHP alone. If I
can get the right results using Javascript I would be happy to give it a
try.

I did actually found a way which I could use in an article called 'PHP On
The Fly'[1]. It suggests using Javascript with the XML HTTP Request Object.
I'm gonna try that one but I was hoping someone had some thoughts about
this subject.

- Vincent van Scherpenseel

[1]
<http://www.webpronews.com/webdevelopment/basicdevelopment/wpn-37-20041201PHPOnTheFly.html>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация