/Arbitrary Constant

About Arbitrary Constant

A small electronic repository for film, literature, politics and other areas of interest since 2003.

How to Setup a Randomising Function

2010-05-25T22:52:00+00:00 November 17th, 2007|JavaScript|

A couple of sections on arbitrary constant used to utilise JavaScript in order to generate some random content for that pesky right column. This was done for two reasons: 1) to give the site a bit more depth and 2) to help me learn the basics of JavaScript. Now that both of these goals have been achieved, here is a guide detailing how it is done, which will hopefully prove useful to anyone new to this sort of thing.