schottgun said:
How do I incorporate the code into Front Page. We pretty much use our
web guy to take care of it, but he hasn't been any help recently.
This problem has been a pain. I need to resolve it quickly
Thanks,
Mike Schott
Mike,
Sorry about the delay.
I am in Australia and your message was timed 12 hours ago
You have to go the Code or HTML view (click onthe tab) and paste in the code
you want as follows.
Between <head> and </head> paste these lines (just cut them from this posted
message)
<script type="text/javascript">
var is_ie = (navigator.appVersion.indexOf('MSIE') != -1) ? true : false
var showPage_check
function showPage() {
function doshowPage() {
if ((is_ie && document.readyState=="complete") || (!is_ie))
{
document.getElementById("wait").style.visibility = "hidden"
document.getElementById("mainpage").style.visibility = "visible"
window.clearInterval(showPage_check)
}
}
document.getElementById('wait').innerHTML =
'<p><center><h1>' +
'This page is loading<br>' +
'Please Wait.....' +
'</h1></center></p>'
if (document.onreadystatechange)
showPage_check = window.setInterval("doshowPage()",100)
else
doshowPage()
}
</script>
<style type="text/css">
div#wait {
position: absolute;
visibility: visible;
top: 30%; left: 25%;
font-size: 300%;
color: red;
}
div#mainpage {
position: relative;
visibility: hidden;
}
</style>
Replace the <body> tag with this line (against do a cut and paste):
<body onload="showPage()">
Right at the top of the <body>, say on the next line, paste these lines
<div id="wait"> </div>
<div id="mainpage">
Right at the bottom, i.e. the line before </body> paste this
</div>
I hope you can get it done quickly.
Get back to me before 1800 AEDST if you have a problem - it is now 1400
AEDST.