Return to Snippet

Revision: 16738
at August 13, 2009 21:31 by thesislab

Initial Code
<div id="multimedia_box2">
				<div id="image_box2">
<script language="JavaScript">
var img_rnd = new Array ("<?php echo THESIS_CUSTOM_FOLDER; ?>/images/puff_pancake_sm.png");
var i = Math.floor(1*Math.random());
document.write('<img src="' + img_rnd[i] + '" width="416" />');

Initial URL

Initial Description

Initial Title
Embedded PHP in script for relative link to image

Initial Tags
javascript, php

Initial Language