/ Published in: PHP
Expand |
Embed | Plain Text
<div id="multimedia_box2"> <div id="image_box2"> <script language="JavaScript"> <!-- var i = Math.floor(1*Math.random()); document.write('<img src="' + img_rnd[i] + '" width="416" />'); //–> </script> </div> </div>
Comments
Subscribe to comments
You need to login to post a comment.

Code provided by DIY Themes forums member asmith (http://diythemes.com/forums/customization/7203-relative-file-path-issues-custom-function.html#post35264).
The important part of this is the immediate PHP tag just after 'new Array' and before '/images/'.