i have the simple code below to display a random image; how can i modify this line to place the random image at 225px wide by 141px high?
document.getElementById("highlight_1").src = randomimage1;
thanks!
i have the simple code below to display a random image; how can i modify this line to place the random image at 225px wide by 141px high?
document.getElementById("highlight_1").src = randomimage1;
thanks!
If you want the image to be those dimensions, you need to set height and width via the style object.