I have been trying to study some code I found at:
for preloading images. The demo site described on the page above no longer exists, so I had to build my own from the article. I did that, and you can see it at:
Firebug gives the following error(s), when the page is loaded:
missing ) after formal parameters [Break on this error] function ImagePreloader(images, call-back) {\n ImagePreloader.js (line 1)
ImagePreloader is not defined
I cannot see why Firebug thinks a parenthesis is missing.
What am I missing?
Thanks,
James
for preloading images. The demo site described on the page above no longer exists, so I had to build my own from the article. I did that, and you can see it at:
Firebug gives the following error(s), when the page is loaded:
missing ) after formal parameters [Break on this error] function ImagePreloader(images, call-back) {\n ImagePreloader.js (line 1)
ImagePreloader is not defined
I cannot see why Firebug thinks a parenthesis is missing.
What am I missing?
Thanks,
James