Preloading Images

A

Alec Thorne

I am making a webpage to hold images of the family. The idea is to
have some small previews, and then using AJPopUp from NavSurf the
visitor with a mouse over will see the larger original image in a pop
up.

I want this effect to be almost instant. Thus while the visitor is
reading the introductory text on the webpage, can I get FrontPage to
pre-load all of the full size images for later use ?

Many thanks

Alec
 
R

Rick Budde

Did the folks at NavSurf have any suggestions on this
matter? I would guess at least one of their users has had
a similar request.
 
D

Don

IF you have FrontPage 2003 "Preload Images" it is under Behaviors..
If you have an earlier version I don't think there is that option.

HTH
Don
=======================
| Did the folks at NavSurf have any suggestions on this
| matter? I would guess at least one of their users has had
| a similar request.
|
| >-----Original Message-----
| >I am making a webpage to hold images of the family. The
| idea is to
| >have some small previews, and then using AJPopUp from
| NavSurf the
| >visitor with a mouse over will see the larger original
| image in a pop
| >up.
| >
| >I want this effect to be almost instant. Thus while the
| visitor is
| >reading the introductory text on the webpage, can I get
| FrontPage to
| >pre-load all of the full size images for later use ?
| >
| >Many thanks
| >
| >Alec
| >.
| >
 
A

Alec Thorne

Don

Sadly I have an earlier version. How do they do this in FrontPage
2003? I looked back through the thread and followed the advice of
using either an ActiveX preloader or Java script. However someone else
suggested that this was a bad idea as many browsers are not
automatically setup to run these.

Is this so ?

Cheers

Alec
 
S

Stefan B Rusynko

If the users browser doesn't support JavaScript (most do) then mouseovers don't work either
- user Javascript not ActiveX
see http://tech.irt.org/articles/js018/index.htm#6



| Don
|
| Sadly I have an earlier version. How do they do this in FrontPage
| 2003? I looked back through the thread and followed the advice of
| using either an ActiveX preloader or Java script. However someone else
| suggested that this was a bad idea as many browsers are not
| automatically setup to run these.
|
| Is this so ?
|
| Cheers
|
| Alec
 
D

Don

The one if FrontPage 2003 uses JavaScript
Like:

<script language="JavaScript">
<!--
function FP_preloadImgs() {//v1.0
var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
for(var i=0; i<a.length; i++) { d.FP_imgs=new Image;
d.FP_imgs.src=a; }
}
// -->
</script>
======================
In the Head then calls it with the onload event
Like:

<body onload="FP_preloadImgs(/*url*/'www.Your_Name\images\Your_Image.gif')">

=======================

HTH

Don
=======================
| Don
|
| Sadly I have an earlier version. How do they do this in FrontPage
| 2003? I looked back through the thread and followed the advice of
| using either an ActiveX preloader or Java script. However someone else
| suggested that this was a bad idea as many browsers are not
| automatically setup to run these.
|
| Is this so ?
|
| Cheers
|
| Alec
 
Top