Wait For Page Change

Script by Donnie Garvich

     Here's a great script that sends people to a new page depending on what browser they are using. The nice thing about this script is it waits five seconds before doing it. It gives the impression it's "working" on something.
     Configure by changing out page names. To make the page wait longer or short amounts of time, change the number by "CONFIGURE="
     Here's the script:

<SCRIPT LANGUAGE="JavaScript">

     browserVer = parseInt(navigator.appVersion);
          if (browserVer >= 3) version = "n3";
          else version = "n2";

          Text = "<META HTTP-EQUIV='Refresh' CONTENT='5;

               URL=frames.html'>"

          Ret = "<META HTTP-EQUIV='Refresh'

               CONTENT='5;URL=noFrames.html'>"

          if (version == "n3")
          document.write(Text);

else

          document.write(Ret)
</SCRIPT>

     Please note: This script is being offered in simple text format. When you click to Grab the Script, the text should display. Internet Explorer and AOL users may get a blank page or the script may run and produce the effect. If this happens, choose SAVE AS from the FILE menu and save the blank or compiled page.

Back to the Button, Links, and E-Mail Scripts