Welcome To Snipplr
Everyone's Recent JavaScript Snippets Tagged redirect
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
This simple scripts show a possibility to call a JavaScript function that retrieves a variable passed from drop down box as a parameter and then the JavaScript redirects the browser to the variable that was passed to it.
0
1032
posted 12 years ago by apphp-snippets
You can use JavaScript window.location to redirect a visitor to a required page. You may have seen this feature used by sites with full page ads, or to redirect visitors to the site's new domain name. You can add also a timer to the script that will...
2
1322
posted 12 years ago by apphp-snippets
//You cannot change the whole url without redirecting, what you can do instead is change the hash.
//The hash is the part of the url that goes after the # symbol.
//That was initially intended to direct you (locally) to sections of your HTML doc...
0
996
posted 12 years ago by dnnsldr
<input>
When used instead of my SharePoint: SaveButton above, the form saved it's data correctly, and the current page that the form was submitted from was reloaded for the user.
You could also put any URL in the __redirect={} that yo...
0
775
posted 14 years ago by rumremix
redirects a splash page if visited before. Number of days until expiry can be set
0
966
posted 18 years ago by markhope
Redirect a splash page using javascript. This snippet allows one redirect per session making the backwards navigation possible using the back button.
0
1058
posted 18 years ago by markhope
« Prev 1 Next »