SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Member
    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

  2. #2
    I'll take mine raw silver trophy MikeFoster's Avatar
    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>


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
  •