inherit
208888
0
Jan 5, 2018 9:59:16 GMT -8
Emerald
Hello there.
522
May 2014
emeralddaff
|
Post by Emerald on Feb 8, 2015 11:42:00 GMT -8
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 23, 2024 7:49:09 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Feb 11, 2015 5:19:48 GMT -8
Hi, EmeraldIf go Google search there are many free JavaScripts that might have what you are looking for
I found this one that I have used in the past that works well It will load random images that can be linked You can also set the height & width of the images displayed
You can see how it works on my test forum tcptestingboard.boards.net/
Tested using latest versions Chrome - Firefox - IE 11 Main Headers - Global Headers
To add more images & links just add more myimages and imagelinks with the corresponding number Add as many as you wish...
myimages[4]="ADD IMAGE URL HERE" myimages[5]="ADD IMAGE URL HERE" myimages[6]="ADD IMAGE URL HERE"
imagelinks[4]="ADD CORRESPONDING LINK" imagelinks[5]="ADD CORRESPONDING LINK" magelinks[6]="ADD CORRESPONDING LINK"
<center><script language="JavaScript"> <!--
/* Free Random Image Link Script- By JavaScript Kit(http://www.javascriptkit.com) Over 200+ free JavaScripts here! Updated: 00/04/25 */
function random_imglink(){ var myimages=new Array() //specify random images below. You can have as many as you wish myimages[1]="ADD IMAGE URL HERE" myimages[2]="ADD IMAGE URL HERE" myimages[3]="ADD IMAGE URL HERE"
//specify corresponding links below var imagelinks=new Array() imagelinks[1]="ADD CORRESPONDING LINK HERE" imagelinks[2]="ADD CORRESPONDING LINK HERE" imagelinks[3]="ADD CORRESPONDING LINK HERE"
var ry=Math.floor(Math.random()*myimages.length) if (ry==0) ry=1 document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+ '" height="50" width="50" border="0" "></a>') } random_imglink() //--> </script></center><br /> Steve
|
|