Why does this work intermittently?
It is a page of thumbs. Click on a thumb and a display pops up allowing user to view pix in sequence by clicking a button.
the first 15 thumbs are active - numbers 0 - 14.
Sometimes it won't show any. Sometimes it will show the first 4, or the first 12, then just stop working.
You can view source to see code.
My first post, sorry if it does not conform.
reply to why working intermittently
Thanks for the reply. I am certainly not going to argue about my code. I will look up the "this" technology.
But how am I not using the array to its best advantage?
I use it to preload, and then reference it to change the image.
I am not trying to be defensive, but am very curious.
document.getElementById('holder').style.backgroundImage="url(" + picArray[x] + ")";