Skip to main content
DistrictCampusDirectory
CAMPUS

4H Christmas Project

A 5th grade student came up with a 767) { if (photoCount%4==0) { $('

').insertAfter(this); } } else { if (photoCount%2==0) { $('
').insertAfter(this); } } photoCount++; }); $(window).resize(function() { $(".findClear").remove(); photoCount = 1; $(".photoGalleryPhoto").each(function() { screenWidth = $(window).width(); if (screenWidth > 767) { if (photoCount%4==0) { $('
').insertAfter(this); } } else { if (photoCount%2==0) { $('
').insertAfter(this); } } photoCount++; }); }); });