bahy
04-13-2003, 05:42 AM
How do i make a "waiting notice" after my visitor have just submit something ? Just like the forum always do when we logging in or posting .....
|
||||
Notice after submittingbahy 04-13-2003, 05:42 AM How do i make a "waiting notice" after my visitor have just submit something ? Just like the forum always do when we logging in or posting ..... raf 04-13-2003, 10:33 AM i always use a bit of javascript for it, but that's just a personal preference. if ($result): ?> <form name="redirect"> <center> <b>Congratulation. You are now registered and can start building your free webtest.</b><br/><br/><br/> You will be redirected to the loginpage of the build-module in <br/><br/> <input type="text" size="3" name="redirect2"> </form> seconds <br/><br/><br/>If you are not redirected or don't want to wait, click <a href="whatever.html" title="To the logon-form of the build-module">here </a>. </center> <script> <!-- var targetURL="whatever.html" var countdownfrom=5 var currentsecond=document.redirect.redirect2.value=countdownfrom+1 function countredirect(){ if (currentsecond!=1){ currentsecond-=1 document.redirect.redirect2.value=currentsecond } else{ window.location=targetURL return } setTimeout("countredirect()",1000) } countredirect() //--> </script> |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum