Print

Printed April 20, 2014 from B&T's Tips & Scripts
http://tips-scripts.com


Load a random image (Using JavaScript)

This example will randomly load image1.jpg through image99.jpg.  Just place this JavaScript where you want the image.

<script type="text/javascript">
nRandom = Math.ceil(Math.random() * 99);
document.write ('<img src="image' + nRandom + '.jpg">');
</script>