/ Published in: JavaScript
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<SCRIPT LANGUAGE="Javascript"> function banner() { } ; b = new banner() ; n = 0 b[n++]= "<IMG name=randimg SRC='images/video_stills/01.jpg' border='0' ALT=''>" b[n++]= "<IMG name=randimg SRC='images/video_stills/14.jpg' border='0' ALT=''>" b[n++]= "<IMG name=randimg SRC='images/video_stills/04.jpg' border='0' ALT=''>" b[n++]= "<IMG name=randimg SRC='images/video_stills/02.jpg' border='0' ALT=''>" b[n++]= "<IMG name=randimg SRC='images/video_stills/10.jpg' border='0' ALT=''>" b[n++]= "<IMG name=randimg SRC='images/video_stills/05.jpg' border='0' ALT=''>" i=Math.floor(Math.random() * n) ; document.write( b[i] ) </SCRIPT>