Jump to content

Hiding a form for a certain amount of time on page load


proxximo

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.