The CSS from the original layout is as below
<img class="side-img" src="{image:Sidebar Image}">
From another tutorial, I’m asked to replace it with the following code to get the changing sidebar image working.
<script language="JavaScript"> <!-- function random_imglink(){ var myimages=new Array() //specify random images below. You can have as many as you wish myimages[1]="IMAGE URL" myimages[2]="IMAGE URL" myimages[3]="IMAGE URL" var ry=Math.floor(Math.random()*myimages.length) if (ry==0) ry=1 document.write('<img src="'+myimages[ry]+'" border=0>') } random_imglink() //--> </script>
Question and answer is powered by AnsPress.io