banner

banner


Blue Fox Reload Page Codes



Here is the code for the above.

<center>
<form>
<input type type="button" value="Reload The Page Here " onClick="history.go(0)">
</form>
</center>

If you put the below command where you want the hyperlink of "Reload" to appear this will also "Reload" your page.

<center>
<a href="javascript:history.go(0)">
<font size="?" color="?">
CLICK HERE TO RELOAD THIS PAGE
</font>
</a>
</center>



If you place this command
<meta http-equiv="pragma" content="no-cache">
after the <head> tag the web page will automatically reload (refresh) each and every time you have a visitor without having to do the Cmd + R reload to see the new additions to your site or page. The JS WebTV bug will still occur when it has a mind to.



The below code for the WebTV JS bug was "nuked" by WebTV

Here is a new code developed by Wedge that if placed after the body tag will automatically reload the page if the mysterious WebTV JS bug strikes without having to do the CMD plus R routine. The font color, size and wording is your choice.

<noframes>
</script>
<SCRIPT LANGUAGE="JavaScript">
c = 6;
for (i=1;i<c;i++) {setTimeout("history.go(0);", 500); }
</SCRIPT>
<center>
<font color="#ff6666">
WEBTV BUG ALERT - RELOADING
</font>
</center>
</noframes>



The below code for the WebTV JS bug was "nuked" by WebTV

For those of you whose sites will be viewed by computers especially the viewer using the Netscape Explorer browser then use this code instead of the above to defeat the WebTV JS bug. Naturally remove the previous JS bug alert code and again this code goes after the body tag.

<SCRIPT>
document.write('<'+'!'+'-'+'-');
</SCRIPT>
<SCRIPT>
c = 6;
for (i=1;i<c;i++)   {
setTimeout("history.go(0)", 500);
}
</SCRIPT>   -->



So without the above two codes we're back to square one. So to inform WebTV viewers that your page needs reloading because of the WebTV JS bug use somethimng lke this. This goes after the body tag.

<noframes>
<center>
Put yout text here and say this page needs to be reloaded and hit your reload, Cmd + R, about 5 or 6 times or put a image that says "Reload This Page" etc etc. The font color and size is your choice naturally.
</center>
</noframes>



I also have a page that has two (2) preloading codes that you should find interesting that may be viewed here.




               To The Blue Fox Menu