var images = [ 'image1.png', 'image2.png', image3.png' ];
var random = 1 + Math.floor(Math.random() * images.length);
Can someone better clarify how to go about doing this. I see the code above, but am not sure where I would place my images. Also it looks like it's using a slider class and I don't want this to be a slider but to simply change out an image on refresh.