javascript syntax question
javascript syntax question
Out of context: Reply #6
- Started
- Last post
- 6 Responses
- neverblink0
var NewImg= Array("image1.jpg","image2.jpg...
var imageDB = Array();function preload(i){
imageDB[i] = document.createElement('img');
imageDB[i].setAttribute('src', NewImg[i]);
imageDB[i].setAttribute('onload... someFunction(i));
}- the "..." should be a " ', "
but QBN changed thatneverblink - thanks for the tippkny
- the "..." should be a " ', "