4images Forum & Community

General / Allgemeines => Programming => Topic started by: Stella Richards on May 02, 2009, 08:55:27 AM

Title: Can someone help me on a question on using loops in Javascript?
Post by: Stella Richards on May 02, 2009, 08:55:27 AM
Hi,

Let's say I have a function that moves a piece of text whenever the user mouses over it. If I wanted that function to run a limited amount of times before changing to something else, how would I do that? If I begin with a for loop, the function begins all over again each time the user mouses over the text, so it would run an infinite amount of times.
Title: Re: Can someone help me on a question on using loops in Javascript?
Post by: clarence456 on August 25, 2009, 11:15:51 AM
hey friend! not 2 worry! not a major problem... U can hv a better idea through referring 2 completely decent guide giving fullphlased idea about hjava script... so take a look :

hoping dat'll do lots of favs...
thanx.................. :)

[Edit]
gotcha.. and you are welcome  8)