Menu
Hi, I’m wondering if there is a way to pull a ssi at random the way you pull a random image like this:
<a href=”term_photos/spring_term_photos/prom/index.htm”><script type=”text/javascript” language=””>document.write(“<IMG border=1 HSPACE=2 BORDER=0 SRC=’random_images/” + Math.ceil(Math.random() * 15) + “.jpg’>”)</script>
For the above script, I would put images in the folder and name them “1.jpg, 2.jpg” etc. I would like to do the same thing with ssi’s, but I can’t get it to work. It seems like it should be easy. Is it?
Thanks.