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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.