Thread
:
Detecting broken images with javascript?
View Single Post
04-19-2007, 05:59 PM
#
7
(
permalink
)
DomainRealty
I'm a Coder
Join Date: Mar 2007
Posts: 626
iTrader:
1
/ 100%
Personally, I would preload the images with a if/else statement like this:
if(!image.load(args)) { error(); }
Not quite sure about the syntax, but that should do it.
Jason
__________________
COPEAC
+
NEVERBLUE ADS
= MONEY!
DomainRealty
View Public Profile
Visit DomainRealty's homepage!
Find More Posts by DomainRealty