Wednesday, September 2, 2015

Test 2 Javascript - Redirect with Timer






Source code :
<script type="text/javascript">
 function redirectTimer()
{
    window.location="https://www.youtube.com/channel/UCXu-D19AiIJZptbg8Z549xg";
}

document.write("Anda akan menuju ke halaman yutubs Hyosoka dalam 17 detik  ");
setTimeout('redirectTimer()',17000);
</script>

<form>
<input type="button" value="Hisoka's Redirect" onclick="redirectTimer();" />
</form>



No comments:

Post a Comment