Results 1 to 3 of 3

Thread: redirection code

  1. #1
    Join Date
    Jun 2007
    Location
    washington
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question redirection code

    have seen the windows vista and xp for psp?
    well, they are made in javascript,html, and i think some css
    i am trying to make one
    i dont know pretty much anything but html with a bit of javascript understanding
    so i need to know the code for when someone comes to a certain page they are rediricted in a set amount of seconds.
    i need this code for the "boot" screen

  2. #2
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    Code:
    <script type="text/javascript">
    	function Redirect() {
    		location.href = 'test.htm'; //specify the page name to which you want to redirect. Give the correct path if you have any
    	}
    	
    	setTimeout('Redirect()',4000);	
    </script>
    Use the above code which will redirect to a new page with a bit time delay

  3. #3
    Join Date
    Jun 2007
    Location
    washington
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thx alot man

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •