Jump to content


How can I show a message when the script is loading?


  • Please log in to reply
1 reply to this topic

#1 Guest_eXtaZa222_*

Guest_eXtaZa222_*
  • Guests

Posted 02 July 2006 - 08:57 PM

Hello all,
I want to know how can I write the word "calc..." when the script is loading, and hide it when the script finished to load? I have a PHP script that takes a lot of time untill he writes the result, and I want to write for the user that are waiting "calc...." , and when it shows the result I want to hide that word. How can I do that?

Thanks a lot.

#2 nogray

nogray
  • Members
  • PipPipPip
  • Advanced Member
  • 930 posts
  • LocationSan Francisco CA

Posted 03 July 2006 - 04:43 PM

something like this might work
<body onload="document.getElementById('calc').style.display = 'none';">

<div id="calc">Calc....</div>

</body>

NoGray.com





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users