Javascript help wanted!

Aug 23, 2006 12:23

I've got a bit of an issue preloading images using javascript using a bit of code ( Read more... )

work, geek

Leave a comment

Comments 5

richc August 23 2006, 11:43:28 UTC
I'd rather need to see the code to be able to help....

Reply

kneeshooter August 23 2006, 11:44:45 UTC
I understand that - I just wasn't going to spam everyone with it! What's a good email for you and I'll take the conversation there...

Reply

richc August 23 2006, 14:17:11 UTC
richc at lrp _ world dot org

Reply


kingandy August 23 2006, 11:59:08 UTC
Image map? Ooooh. Tricksy.

The code I pointed you at should be adaptable for that, except instead of having an "on" and "off" image object for each image you'd need one for each map area, eg "map_manchester", "map_stockport" (assuming a literal map!). Then reference it with "map_manchester.src".

Your "off" code would then be a lot simpler as you'd only have the one image to turn off...

Reply

kneeshooter August 23 2006, 12:07:34 UTC
Your code is nice, I just want to get the .js syntax write to build that into a loop in my existing code.

Reply


Leave a comment

Up