proxximo Posted May 24, 2007 Share Posted May 24, 2007 I am currently coding a game. I am wanting to cut down server load by hiding a form for a certain amount of time every time the page loads. Explaination: On the game page you click on a compass (my form) to move your character. The php script moves the character and loads the new page. What I want to happen is when the new page loads to hide the compass for a certain amount of time. This is to keep players from clicking the form 5 times really fast and moving that amount of spaces loading the page once. I figured this would be a javascript situation and my javascript is non existant. Can anyone help? If you need more info please let me know and I will post it ASAP! Thanks Quote Link to comment Share on other sites More sharing options...
proxximo Posted May 25, 2007 Author Share Posted May 25, 2007 Still need help Quote Link to comment Share on other sites More sharing options...
gabeg Posted May 27, 2007 Share Posted May 27, 2007 you would use the setTimeout method if I remember correctly. google search for it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.