setTimeout和window.location.href实现网页跳转

使用以下代码,实现跳转,直接附上去:

<script language=”javascript” type=”text/javascript”>setTimeout(‘window.location.href=\”index2.html\”‘,10000);</script>

Leave a Reply