Good day! The situation is this: I pull out the pictures from the folder like this
var col = 0; for(i=1;i<22+1;i++) { document.write('<div class="swiper-slide"><div class="swiper-zoom-container"><img alt="" src="images/books/lookins/files/math/'+i+'.jpg" id="'+i+'"></div></div>'); document.getElementById(i).onload = function() { return; col++; } } It is necessary that a certain picture (say 2.jpg) is not pulled out. How to do? Help somebody!
if (i != 2) { ... }- Igorreturn; col++;- unreachable codecol++;- Igor