Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
redirect a page
shivani anand
Ranch Hand
Posts: 155
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If user goes to old site how to redirect to a new site?
thanks,
SA
Eric Pascarello
author
Posts: 15385
6
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
<body on_load="self.location.href='thepage'">
remove the _ from on_load
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 21 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Or, in the header:
<meta http-equiv="Refresh" content="0; URL=whatever.html">
where you can replace the
0
with however many seconds you want to delay (leave 0 for no delay), and replace
whatever.html
with the target URL.
hth,
bear
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
You can thank my dental hygienist for my untimely aliveness. So tiny:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Moderators Needed
How to call struts action as Website default home page
Servlet redirect to another server
redirect a request to another Web site
How to show recent blogs in my webpage
More...