Random number between two numbers (JavaScript)

Here’s my little function to return a random number between two numbers:

The ‘allowZero’ flag does just that.. though if you use this function you may wish to change what it does if it does generate a zero. It’ll work on […]

JavaScript document map

JavaScript code to generate a document map/table of contents from the document structure. NB – Sorry I need to update this to get the examples working in WordPress This page generates the following document map: [jscript]

You’ll want a […]