View Single Post
Old 09-08-2012, 11:24 PM   PM User | #3
3591wjr
New to the CF scene

 
Join Date: Sep 2012
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
3591wjr is an unknown quantity at this point
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.
Thanks.



Code:
document.getElementById('holder').style.backgroundImage="url(" + picArray[x] + ")";
3591wjr is offline   Reply With Quote