View Single Post
Old 03-20-2006, 10:21 PM  
SmokeyTheBear
►SouthOfHeaven
 
SmokeyTheBear's Avatar
 
Join Date: Jun 2004
Location: PlanetEarth MyBoardRank: GerbilMaster My-Penis-Size: extralarge MyWeapon: Computer
Posts: 28,609
Heres a simple javascript method

Code:
 <script language="JavaScript">

function stb_rand(){
  var stbanner=new Array()

  stbanner[1]="http://www.link1.com/01.jpg"
  stbanner[2]="http://www.link1.com/02.jpg"
  stbanner[3]="http://www.link1.com/03.jpg"
  stbanner[4]="http://www.link1.com/04.jpg"
  stbanner[5]="http://www.link1.com/05.jpg"
  stbanner[6]="http://www.link1.com/06.jpg"
  stbanner[7]="http://www.link1.com/07.jpg"

  var stblinks=new Array()
  stblinks[1]="http://www.link1.com"
  stblinks[2]="http://www.link2.com"
  stblinks[3]="http://www.link3.com"
  stblinks[4]="http://www.link4.com"
  stblinks[5]="http://www.link5.com"
  stblinks[6]="http://www.link6.com"
  stblinks[7]="http://www.link7.com"

  var stbdesc=new Array()
  stbdesc[1]="text description 1"
  stbdesc[2]="text description 2"
  stbdesc[3]="text description 3"
  stbdesc[4]="text description 4"
  stbdesc[5]="text description 5"
  stbdesc[6]="text description 6"
  stbdesc[7]="text description 7"
  
  var ry=Math.floor(Math.random()*stbanner.length)

  if (ry==0)
     ry=1
     document.write('<table width="712" border="0" cellspacing="0" cellpadding="1"><tr><th width="710" height="92" scope="row"><a href="'+stblinks[ry]+'" target="_blank"><img src="'+stbanner[ry]+'" width="700" height="90" border="0"></a></th></tr><tr><th height="19" scope="row"><table width="710" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000"><tr><th width="710" bgcolor="yellow" scope="row"><div align="center"><span class="stb"><a href="'+stblinks[ry]+'" target="_blank">hahaha9658;'+stbdesc[ry]+'hahaha9668;</a></span></div></th></tr></table></th></tr></table>')
}

  stb_rand()

          </script>
__________________
hatisblack at yahoo.com
SmokeyTheBear is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote