سلام
فرصت نشد کد بهتری بزنم
این یه نمونه ساده هست
برای نمایش نمونه کار هم به آدرس زیر مراجعه کن
Wait ...
کد:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Wait ... </title> <?php $destination = "http://www.arya-host.ir"?> <script language="javascript" type="text/javascript"> var timeOut = 5000; function rd(){ window.location = "<?php echo $destination?>"; } setTimeout('rd()', timeOut); </script> </head> <body> Wait ... </body> </html>





پاسخ با نقل قول