Could you please help me with the JS script !! I want to write a JS & nbsp; script to insert 1.php& nbsp; When 1 is run. PHP this file, can automatically jump to the http://www.baidu.com & nbsp; requirements: 1. this JS file can be stored in another space. then, you can use & lt; scriplanguage = javascript & nbsp; sr to help you get the JS script !!
I want to write a JS script insert 1.php when the 1. PHP file is running, it can automatically jump to the http://www.baidu.com
Requirements: 1. this JS file can be placed in another space, and Script is called.
2. supports all IE
------ Solution --------------------
Function L (){
SetInterval ("location. href = 'http: // www.7di.net '", 5000 );
}
L ();
Save this code as yh. js. it will jump 5 seconds after it is loaded. As for the. php you mentioned, it won't be necessary, and js will be able to handle it.