/    Sign up×
Community /Pin to ProfileBookmark

Dynamicly loading images, are they loaded?

Hello!
My first post and it looks like quite a bit of traffic here. Each member trying to solve their problem. I hope there are an equal amount of problem solvers?

Ok, I have an HTML that is about 4k size. IT pops open from a parent that gives it 2 variables; the address to a webcam image and a call rate in seconds. I have found several webcams that provide interesting content such as NewYork times square, some California beach Cams, Oldfaithful in Yellowstone Park…

Most of these sites work well with my script. It grabs an image and saves it until several are accumulated. Then, I can replay them with a IE fading script. It is a good show for landscapes with weather. I can either save all the individual images manually or, close my browser and lose them all.

I have a problem if any particular image does not get fully loaded when the script gets ahead and calls for a new image, say after 60 seconds. Then, the previous images will each begin another call to the server to replace what it already has thereby rendering the page useless. What I have to do is sit and watch the status bar and if ever the new image is not loaded while the counter is approaching another recall, I have to be sure and click a stop button.

So, without having to give you the entire 4k of my page, can you offer any help yet? :rolleyes:

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@jzwpauthorDec 27.2005 — All right, everyone can relax. I got it handled.

if you want to know what trail to go on,

go to the MSDN website and investigate "readyState"
×

Success!

Help @jzwp spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...