17-10-12, 01:52 PM
كاتب الموضوع : AhmedEssawy
يقوم الكود التالي بتحويل بعد ثانيتين الي الموقع المشار الي في window.locationكود :
[FONT=Arial, Helvetica][SIZE=2]<script language="JavaScript">
<!--Script courtesy of http://www.web-source.net - Your Guide to Professional Web Site Design and Development
var time = null
function move() {
window.location = 'http://www.yourdomain.com'
}
//-->
</script>[/SIZE][/FONT]
كود :
[FONT=Arial, Helvetica][SIZE=2]<[b]body[/b] onload="timer=setTimeout('move()',2000)">[/SIZE][/FONT]