Categories
Religion

Teaching Britishness

How about just bringing back some discipline? Isn’t that what schools are actually lacking at the moment? This must be a smoke-screen. And to the Muslims wanting Islamic principles to be taught as well – Muslims account for only 3% of the UK population. How about mentioning all the main (world-wide) faiths and the underlying […]

Categories
Religion

Your Right To Die

Currently in the news is the debate in [tag]UK[/tag] government over a form of legal [tag]suicide[/tag]. Unsurprisingly this is being criticised as a “back door to [tag]euthanasia[/tag]”. My issue however is the argument against being used by various parties. They will start with a well reasoned, well vocalised argument, and then spoil it all by […]

Categories
Code

JS: Clear Default Value onFocus

Simply add the following to the the onFocus attribute of any HTML form input tag. [code lang=”JavaScript”]if (this.value == this.defaultValue) this.value = ”;[/code] this.defaultValue is automatically given the value in the HTML.

Categories
Code

Append to Body onLoad

I looked for a long time how I could add JavaScript functions to an HTML document’s onLoad attribute. Eventually I found this, something so obvious that I had considered trying it but foolishly didn’t try. [code lang=”JavaScript”] var oldLoad = window.onload; window.onload = function() { oldLoad(); function2(); } [/code]

Categories
Uncategorised

Google SketchUp (free)

Google (who recently bought SketchUp) have split it into two products. There is now the free version ‘Google SketchUp‘, and SketchUp Pro. The more important part of the news release, as far as I’m concerned, is the 3D Warehouse, a user-contributed collection of SU components – essentially a direct competitor to my SketchUp Components Collection. […]