Author Topic: Can someone help me on a question on using loops in Javascript?  (Read 6628 times)

0 Members and 1 Guest are viewing this topic.

Offline Stella Richards

  • Pre-Newbie
  • Posts: 1
    • View Profile
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.
Visa India
Indian Tourist Visa
Tourist Visa to UK

Offline clarence456

  • I'm banned too for Spam
  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: Can someone help me on a question on using loops in Javascript?
« Reply #1 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)
« Last Edit: August 25, 2009, 12:16:55 PM by Nicky »