Lottery Scratchcards And Illicit Hallucinogens

Damn wierd: last night I dreamt that I found a lottery scratchcard which had not been completed – just two of it’s sixteen panels had been scratched off. While I’d not be fool enough to buy one (the mathematics is simple – the lottery is a stupidity tax), I’ll happily play one I didn’t pay for, and so I scratched off the remaining panels. The scratchcard was a £1000 pound winner. I claimed the money, and spent it all on LSD. Coincidentally, I can’t remember much of the dream after that…

JavaScript Random Quote Generator

A friend sent me an e-mail yesterday asking if I knew of a simple random quote generator that she could embed on her web page. So I’ve written one, and I’m making it available here on the off chance that anybody else wants it too. It’s implemented in JavaScript, and works simply by including a seperate .js file within the document. The ZIP file contains both the .js file (which will need to be edited in a plain text editor such as Notepad, to insert your own quotes) and a .html file, which provides an example of it’s usage. Unzip both to a folder and double-click on the HTML file to see it in action.

Download QuoteGen (ZIP file, 1.07KB).