468,136 Members | 1,440 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,136 developers. It's quick & easy.

Java Script Ad Rotator - Does it wait on All Pic's ?

tmb
I want to do a slide show with a script something like
http://www.abiglime.com/webmaster/ar...ipt/021298.htm

My Question: Will the client wait on all pic's in the slice show to be
downloaded before it starts or will it show in the forground and continue
downloading in the background?

I have a lot of pic's but many will try to view on 56k dial-up.

thanks for any help - tmb
Jul 23 '05 #1
4 1622
tmb wrote:
I want to do a slide show with a script something like
http://www.abiglime.com/webmaster/ar...ipt/021298.htm

My Question: Will the client wait on all pic's in the slice show to be
downloaded before it starts
With *this* script, yes. All resources will be "preloaded" as far
as the client's cache settings permit it.
or will it show in the forground and continue downloading in the
background?
No, that would require asynchronous requests.
I have a lot of pic's but many will try to view on 56k dial-up.


Don't do it then. Besides, rotating banners have become an increasing
annoyance on the Web and are therefore filtered by many people along with
the other ads. And rotation will not work if J(ava)Script is disabled
or not even present and/or images are disabled or unsupported (common
among users with 56k dial-up and below).
PointedEars
Jul 23 '05 #2
tmb
PointedEars,

Thanks but... :)

We _have_ to put up pic's of the clients products.

Is there a way to do asynchronous request with Java Script?

And, the linked script shows a single image if Java Script is not installed
or inabled... they say... is there a better way to do this? If so, please
let me know.

thanks again - tmb

"Thomas 'PointedEars' Lahn" <Po*********@nurfuerspam.de> wrote in message
news:41**************@PointedEars.de...
tmb wrote:
I want to do a slide show with a script something like
http://www.abiglime.com/webmaster/ar...ipt/021298.htm

My Question: Will the client wait on all pic's in the slice show to be
downloaded before it starts


With *this* script, yes. All resources will be "preloaded" as far
as the client's cache settings permit it.
or will it show in the forground and continue downloading in the
background?


No, that would require asynchronous requests.
I have a lot of pic's but many will try to view on 56k dial-up.


Don't do it then. Besides, rotating banners have become an increasing
annoyance on the Web and are therefore filtered by many people along with
the other ads. And rotation will not work if J(ava)Script is disabled
or not even present and/or images are disabled or unsupported (common
among users with 56k dial-up and below).
PointedEars

Jul 23 '05 #3
tmb wrote:
PointedEars,

Thanks but... :)

We _have_ to put up pic's of the clients products.
Then put them up.
Is there a way to do asynchronous request with Java Script?
Maybe.
And, the linked script shows a single image if Java Script is not installed
or inabled... they say... is there a better way to do this? If so, please
let me know.


Image rotation scripts are a dime-a-dozen on the web. The one you
reference is utter junk though.

And yes, you can start the slideshow before all images are loaded, and
pause the slideshow if the next image isn't loaded yet, on most browsers
anyway.

--
Randy
Jul 23 '05 #4
tmb wrote:
We _have_ to put up pic's of the clients products.
Hm.
Is there a way to do asynchronous request with Java Script?
First of all, the language is called JavaScript. It has nothing to do with
Java, see the FAQ.

Second, there is a way to do that using the XMLHttpRequest object. But that
host object is only available in newer Gecko-based browsers and Windows IE
with enabled ActiveX, so I doubt this will be a viable solution.
And, the linked script shows a single image if Java Script is not installed
or inabled... they say...
Exactly.
is there a better way to do this?
You could use animated images. The formats of choice would be GIF89a or MNG.
[...]


And please don't top-post, see the FAQ.
PointedEars
Jul 23 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

14 posts views Thread by mikeoley | last post: by
3 posts views Thread by klh | last post: by
1 post views Thread by gcdp | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.