Quote:
Originally Posted by Reece_B
Rudi, LOL, i've fixed it. and you knew i had to code.
For all members:
Code:
<script language="JavaScript">
<!--
// Create arrays to contain all the values
// for image locations
image = new Array
image[1]="http://us.yimg.com/images/yahoo.gif"
image[2]="http://www.excite.com/mesp/images/excite/new_logo-180.gif"
image[3]="http://a284.g.akamai.net/7/284/987/000/lygo.com/ly/i/lyguide.gif"
image[4]="http://cnet.com/Images/Headers/cnet-1-title.gif"
image[5]="http://webcrawler.com/img/web/hdr/home_header.gif"
// Create a random number between 1 and five
random_num = (Math.round((Math.random()*4)+1))
// Write the image tag with a random array element
document.write("<img src=\"" + image[random_num] + "\">");
-->
</script>
|
Where and how to I apply this code? I have been wanting to do this? Also how can yo do this for certain usergroups?
Just wanted to get an update
Just want to get an update to my reply