"Loading" message.

S

Stefan B Rusynko

Not possible w/o server side scripting (which would also slow down the load longer)
IMHO
- use something other than a 18 MB PPT for the info (like using save as html)
- or scale the PPT w/ the PPT Save as options (crop / compress images, etc)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


|I have a Power Point presentation loaded onto Front Page for our company
| site, however, it takes a very long time to load. I would like to display a
| "loading" image once the hyperlink is clicked so that visitors dont think
| that their PC froze. I already have an image as well. How do I go about doing
| this??
|
| Just for reference, the hyperlink is :
| http://www.thinkweboffice.com/powerpoints/Accounting/AccountingPowerpoint.pps
|
| Thanks a lot,
|
| Mike Schott
 
A

Andrew Murray

When I click that link the download dialogue comes up; which has the
progress bar anyway....it doesn't open straight in the browser/pp viewer/ppt
itself like a PDF would in Adobe Reader.

I have Office 2003 Profession (which has Powerpoint 2003).
 
G

Guest

I just need possibly a "loading" icon to show up so that viewers know their
computer hasn't froze. Every person that I have had try to open it has
thought that there PC has froze, due to the fact that there is no progress
bar showing. Now,I have an icon for this task. Is it possible to incorporate
it into Front Page for this reason?
 
T

Thomas A. Rowe

FP has no support to do or create anything like that. See the following:
http://www.artspace2000.com/artspace_II/web info/HTML/page_loading_script.htm

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
T

Trevor L.

Thomas said:
FP has no support to do or create anything like that. See the
following:
http://www.artspace2000.com/artspace_II/web info/HTML/page_loading_script.htm

Here is another way to do it

In your page set up two divs

<div id="wait">
Loading...
</div>

<div id="mainpage">
</div>

Put all your content into "mainpage"

Add this CSS
div#wait {
position: absolute;
visibility: visible;
top: 30%; left: 25%;
font-size: 300%;
color: red;
}

div#mainpage
{
position: relative;
visibility: hidden;
}

Change your body tag to this
<body onload="showPage();">

Add this to your JS
var is_ie = (navigator.appVersion.indexOf('MSIE') != -1) ? true : false
var showPage_check
function showPage()
{
//----Internal function --------
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) }
}
//------------------------------

if (document.onreadystatechange)
showPage_check = window.setInterval("doshowPage()",100)
else
doshowPage()
}

Now that I look at it, it is more complex than the other code ,but it has
worked for me
 
G

Guest

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
 
T

Trevor L.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top