Thursday, May 16th, 2013

Cookie Limits

While it is possible to store some data in cookies to pass from one web page to another there is a limit to how much data that cookies can hold. That’s why using sessions where the cookie only needs to hold the session id is the better option. In this article we look at just [...]

Monday, May 13th, 2013

“The Modern Web”

This book provides a brief introduction to some of the new HTML tags and CSS that are expected to become part of the standard in 2014 through 2016 as well as a brief look at what might be coming after that. It also provides a reminder of some JavaScript commands originally introduced in 2000 and [...]

Friday, May 10th, 2013

Counting SelectedEntries in a Drop Down List

Drop down lists can allow your visitor tto select multiple entries- if you set it up that way. Here’s how to count how many entries they have currently selected using JavaScript. Counting Selected Entries in a Drop Down List

Thursday, May 9th, 2013

Validating Dropdown Lists

A drop down list is one of the easiest of input fields to validate in JavaScript since you already know all the values that the field can have and presumably all or all but one of them are valid. Where you need to require that visitors make a selection is the only time you would [...]

Tuesday, April 23rd, 2013

Paint Mixer

This script has been completely rewritten and is now as unobtrusive as I can make it. An ideal addition to any artists web site to demonstrate the effect of mixing the various primary and secondary colours together without wasting paint. Paint Mixer

Monday, April 22nd, 2013

Watercolour Mixer

I have almost completely rewritten this script so that now it is as completely unobtrusive as I can make it. If you used a prior version of this script then this one functions the same way but without the possibility of clashing with other scripts and without displaying a broken mixing area on the screen [...]

Tuesday, March 26th, 2013

Ideas Machine With Optional Links

Yet another of the many scripts I have written over the years that I have updated to be unobtrusive and more flexible (this version replaces two scripts). Ideas Machine With Optional Links

Wednesday, March 20th, 2013

No Right Click

Only beginners bother trying to block the right mouse button because most browsers now automatically ignore such attempts or can be configured to do so. For those that don’t it is still trivially simple to enable that functionality again. No Right Click

Tuesday, March 19th, 2013

Inline Tooltips

Perhaps not the most useful of scripts as to display the “tooltip” inline your visitor has to actually click on the original text and then click again to close it again. The script does demonstrate how event listeners listening for the same event on nested tags though – something that actually behaves rather differently to [...]

Monday, March 18th, 2013

Disable JavaScript

All browsers allow you to turn JavaScript off completely. Some allow you to turn it off on a site by site basis. Using JavaScript you can even configure things to turn off the execution of some of the JavaScript on specific pages. Disable JavaScript

Tuesday, March 12th, 2013

Event Calendar

The new version of my event calendar script makes use of the functionality built into my extended date object script to do most of the processing. Event Calendar

Monday, March 11th, 2013

Expanding and Shrinking Text Banner

A new unobtrusive version of this animated text script that I first wrote all the way back in 2005. Expanding and Shrinking Text Banner