Thanks,
John
Code: Select all
<!-- START: HTML code to make sure your page is not stored in cache so that you do not need to tell them to use F5 -->
<meta http-equiv="cache-control" content="max-age=0" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="expires" content="0" />
<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<!-- END: HTML code to make sure your page is not stored in cache so that you do not need to tell them to use F5 -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.min.js"></script>
<link rel="stylesheet" href="//ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/themes/smoothness/jquery-ui.css" />
<script>
function funcOnloadProcessing() {
//START: code to bypass the F5 refresh if we are working from the local host. The static pages still do an F5 refresh
// IMPORTANT: It seems that you still have to force this even if you are on the local host. What good is that because most times everything runs twice.
//var MyHost = window.location.hostname;
//var MyPath = window.location.pathname;
//if(MyHost == 'localhost') {
// return true;
//}
//END: code to bypass the F5 refresh if we are working from the local host. The static pages still do an F5 refresh
//START: code to force an F5 refresh
$(document).ready(function(){
//Check if the current URL contains '#'
if(document.URL.indexOf("#")==-1){
// Set the URL to whatever it was plus "#".
url = document.URL+"#";
location = "#";
//Reload the page
location.reload(true);
}
});
//END: code to force an F5 refresh
}
</script>
<noscript>
<p>
This website will not run properly without javascript enabled. Please enable javascript and try again.<br>
This website will not run properly without javascript enabled. Please enable javascript and try again.<br>
This website will not run properly without javascript enabled. Please enable javascript and try again.<br>
This website will not run properly without javascript enabled. Please enable javascript and try again.<br>
This website will not run properly without javascript enabled. Please enable javascript and try again.<br>
This website will not run properly without javascript enabled. Please enable javascript and try again.<br>
This website will not run properly without javascript enabled. Please enable javascript and try again.<br>
This website will not run properly without javascript enabled. Please enable javascript and try again.<br>
</p>
</noscript>