So I thought to share with all EC members.
Using Javascript Syntax Highlighting
- <script type="text/javascript">
- function random_imglink(){
- var myimages=new Array()
- //specify random images below. You can have as many as you wish
- myimages[1]="http://www.expertcore.org/test1.jpg"
- myimages[2]="http://www.expertcore.org/test2.jpg"
- myimages[3]="http://www.expertcore.org/test3.jpg"
- myimages[4]="http://www.expertcore.org/test4.jpg"
- var ry=Math.floor(Math.random()*myimages.length)
- if (ry==0)
- ry=1
- document.write('<img src="'+myimages[ry]+'" border=0></a>')
- }
- random_imglink()
- </script>
Syntax parsed in 0.006 seconds



