472,801 Members | 1,211 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,801 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 1753
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). ...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 2 August 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

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.