To get the Clever cow just copy and paste the following code:
<table width="200" border="0" cellspacing="0" cellpadding="0"><tr valign="top" height="334"><td valign="bottom" width="200" height="344" background="http://www.starinajar.co.uk/cow/clevercow/clevercowtop.png"><p><script> var t0; var answer = new Array; answer[0]="Outlook good"; answer[1]="Cannot predict now"; answer[2]="Very doubtful"; answer[3]="Outlook not so good"; answer[4]="Yes"; answer[5]="Signs point to yes"; answer[6]="My reply is no"; answer[7]="Better not tell<br>you now"; answer[8]="My sources say no"; answer[9]="Don't count on it"; answer[10]="Yes definitely"; answer[11]="Without a doubt"; answer[12]="You may rely on it"; answer[13]="It is decidedly so"; answer[14]="As I see it, yes"; answer[15]="Ask again later"; answer[16]="It is certain"; answer[17]="Reply hazy,<br>try again"; answer[18]="Most likely"; answer[19]="Concentrate and<br>ask again"; function randomize(lo,hi) { return (lo + Math.floor(Math.random()*((1+hi)-lo)));} function revert() {self.clearTimeout(t0); o = document.getElementById('clevercow'); v = '<div id=clevercow style="width: 200px; height:124px;">'; v = v + '<a href="javascript:ask();">'; v = v + '<img border=0 src="http://www.starinajar.co.uk/cow/clevercow/clevercow_00.png">'; v = v + '</a>'; v = v + '</div>'; o.innerHTML = v;} function ask() { o = document.getElementById('clevercow'); v = '<div id=clevercow style="width: 200px; height:124px; background-repeat: no-repeat;background-image: url(http://www.starinajar.co.uk/cow/clevercow/clevercow_00.png); text-align: center; font-family: Verdana; font-size: 11pt; font-weight: 600; color: #000000;">'; v = v + '<br><br>'; v = v + answer[randomize(0,19)]; v = v + '</div>'; o.innerHTML = v; t0 = self.setTimeout('revert()',1 * 2000); } </script> <div id=clevercow style="width:200px; height:124px;"><a href onClick="ask();"><img border=0 src="http://www.starinajar.co.uk/cow/clevercow/clevercow_00.png"></a></div></td></tr><tr height="20" valign="top"><td width="200" height="20"><a href="http://lifeismootiful.blogspot.com"><img src="http://www.starinajar.co.uk/cow/clevercow/clevercowbase.png" alt="Visit the website" height="20" width="200" border="0" /></a></td></tr></table>
Cow fun starts here!
Hi there, Matt and Jon here and we just want to say welcome to Life is Mootiful. Your fun resource for cow pun fun. So if you love cows and all things to do with cows then have a look around. We presently have well over one hundred! cow designs. Wander through the website, vote for your favorite cow drawings and comment on your heiffers of choice! Why not suggest cows for us to draw by leaving comments and we can then draw them for moo!
'Clever Cow' source code
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Please leave a comment. We love to know what you think. :D