www.softwareriviera.com
Software Code
    New Code     Most Interesting     Don't Miss     Our picks  
JAVASCRIPT - section

View Article
JAVASCRIPT Redirect to another page
JAVASCRIPT Redirect users to another page. Here is an example on how to use JavaScript to redirect the user to another page after a number of seconds - 5 seconds in this example.
Here is the JAVASCRIPT function for user redirection:

function SetUpRedirect( goTo ) {
var destination = goTo;
setTimeout("window.location='"+destination+"'",5000);
return true;
}
Date: 2007-5-20    Written by: Admin A
     See all articles in this section
Copyright © 2007-2009 SoftwareRiviera.com. All rights reserved.  | Terms of use | Disclaimer | Privacy Policy |