By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,601 Members | 989 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,601 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
4 Replies


P: n/a
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

P: n/a
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

P: n/a
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

P: n/a
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.