Reply to Re: Advanced image tricks

Your name:

Reply:


Posted by strongheart on 10/01/05 22:09

Vincent van Scherpenseel wrote:
> [ follow-up set to: alt.php ]
>
> Hello group,
>
> 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 :)
>
> - Vincent van Scherpenseel


perhaps you can use java script to manubulate an element's style
including visibility and position.

a javascript using setTimeout(function,delay) can make periodic
adjustments to effect an animation.

the client needs to support css and JavaScript and have js turned on
if it doesn't have at least js, I don't know how you would determine a
mouse click that's not on a link.

there's plenty of such scripts out there displaying falling snowflakes,
rain, leaves falling etc.

hope this helps.

~S~

[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

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