Friday, November 5, 2021

JAVASCRIPT - How to make an action 5 seconds after page loading

This code in HEAD section:
<script>
setTimeout( LoadingProc, 5000 );
    
function LoadingProc() {
  alert( "5 seconds gone -> loading procedure." );
}
</script>

No comments:

Post a Comment