SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Mozilla Redirection Script??
-
Dec 7, 2003, 21:21 #1
- Join Date
- Aug 2003
- Location
- Barrie, Ontario
- Posts
- 1
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Mozilla Redirection Script??
Hi all,
I need a redirection scrtipt that will work in IE, Mozilla & Netscape... The current tag that im using:
<META HTTP-EQUIV="Refresh" CONTENT="10; URL=http://www.my-site.com">
works great in IE but nothing happens in Mozilla. Any help would be appreciated.
Kyle
-
Dec 8, 2003, 10:16 #2
- Join Date
- Dec 2002
- Location
- Alabama, USA
- Posts
- 2,560
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi Kyle,
That works for me in Mozilla 1.5 on Win2K. You could also try something like the following:
Code:<html> <head> <title>Cross-Browser.com</title> <meta http-equiv="Refresh" content="1;URL=http://cross-browser.com/"> <script type='text/javascript'> setTimeout('redirect()', 1000); function redirect() { window.location.replace("http://cross-browser.com/"); } </script> <body> <p>Redirecting to...</p> <p><a href="http://cross-browser.com/">Cross-Browser.com</a></p> </body> </html>
Cross-Browser.com, Home of the X Library
Bookmarks