473,396 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 1773
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: Gregory | last post by:
Hello, I'm trying to do the above in order to process an image and return the result to an html image control. It fails and my key suspects are either the variable that I'm passing in -...
14
by: mikeoley | last post by:
Why would this script below work on an html page: http://www.eg-designdev.com/aircylinders/test.htm But not a java page such as this: "http://www.eg-designdev.com/aircylinders/index3.jsp" Or...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
2
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
2
by: kwenterprise | last post by:
Hello All, I am normally great at figuring out ways around iframe issues that frustrate us all. I am using javasript to try and break an iframe that I have a banner rotator embedded in but it...
3
by: klh | last post by:
We've just recently converted to DB2 V8 z/os for our backend database server (upgraded from DB2 V7). Our java applications run under WebSphere/Windows using the DB2 Type 4 driver (V8 FP14). ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.