Updated Articles and Resources
- JavaScript AlertCreated: 2009-11-06 @ 16:28:17 EST
The alert built in function provides JavaScript with a very basic debuggung tool… - JavaScript SplitCreated: 2009-10-30 @ 16:33:34 EDT
In JavaScript strings can be split using the split method belonging to string objects… - JavaScript WindowCreated: 2009-10-30 @ 16:06:52 EDT Updated: 2009-10-30 @ 16:16:03 EDT
JavaScript is now the only way supported by current standards for opening a new window and even there you really need to think about whether you really should… - JavaScript RedirectCreated: 2009-10-23 @ 17:46:39 EDT
JavaScript can redirect your visiitors to a different page… - JavaScript and XHTMLCreated: 2009-10-23 @ 16:49:53 EDT
There are two completely differen document object models that JavaScript can work with - one for HTML and one for XHTML… - Flexible Banner Rotator SampleCreated: 2009-10-13 @ 04:02:00 EDT
This flexible banner rotator can rotate any HTML or text content in your page and can rotate multiple blocks of content in the same page… - Flexible Banner Rotator ScriptCreated: 2009-10-13 @ 03:39:20 EDT
This flexible banner rotator can rotate any HTML or text content in your page and can rotate multiple blocks of content in the same page… - Flexible Banner Rotator WhereCreated: 2009-10-13 @ 03:39:18 EDT
This flexible banner rotator can rotate any HTML or text content in your page and can rotate multiple blocks of content in the same page… - Flexible Banner Rotator WhatCreated: 2009-10-13 @ 03:39:18 EDT
This flexible banner rotator can rotate any HTML or text content in your page and can rotate multiple blocks of content in the same page… - Create Method if Doesn't ExistCreated: 2009-10-09 @ 22:55:10 EDT
Some really useful methods have been added to some objects in some but not all browsers. Use the built in method where it exists and add your own when it doesn't… - self and Multiple ObjectsCreated: 2009-10-09 @ 22:54:30 EDT
Once you start attaching event processing to objects different browsers associate 'this' with different objects. We can make sure we know what object we are referencing by copying 'this' into our o… - Defining Objects with JSONCreated: 2009-10-09 @ 22:53:58 EDT
JavaScript Object Notation is a short way of defining objects. It is so convenient that it is commonly used with Ajax for passing objects from the server… - NamespacesCreated: 2009-10-09 @ 22:53:32 EDT
In JavaScript we can use objects as if they were namespaces so as to avoid naming clashes… - Lazy DefinitionCreated: 2009-10-09 @ 22:52:50 EDT
We can improve the efficiency of our JavaScript by dynamically choosing which version of processing the particular browser needs and making that choice only once the first time the code is used… - Extending MethodsCreated: 2009-10-09 @ 22:52:24 EDT
When you define a new object in JavaScript you may want to extend the functionality in some of the methods that the parent object has… - Copying ObjectsCreated: 2009-10-09 @ 22:51:31 EDT
There is more than one way of copying objects in JavaScript depending on just exactly how you intend using the copy… - Private Properties and Privileged MethodsCreated: 2009-10-09 @ 22:50:58 EDT
The difference between how you define private and puvlic properties in JavaScript is not as obvious as it is in other languages… - Public Access to Private MethodsCreated: 2009-10-09 @ 22:50:12 EDT
One potential problem with public methods is that they may be overridden before you call the constructor which can break the constructor if the constructor needs to call the original version… - Chaining MethodsCreated: 2009-10-09 @ 22:49:47 EDT
If a method doesn't have a useful value to return then returning a pointer to the current object will make it possible to chain methods together… - SingletonsCreated: 2009-10-09 @ 22:49:21 EDT
All JavaScript objects are singletons as JavaScript doesn't have classes. That doesn't stop you accidentally creating separate singletons though where you intended only one, unless you add a little… - Adding Digits TogethereCreated: 2009-10-09 @ 18:53:37 EDT Updated: 2009-10-09 @ 19:27:47 EDT
A function to add all the digits in a number together with the option of multiplyint the alternate digits by two… - Continuous Text Marquee CodeCreated: 2009-10-02 @ 04:59:05 EDT
This script allows you to display one or more marquees containing text that will scroll continuously without a break except when the mouse is moved over them… - Continuous Text MarqueeCreated: 2009-10-02 @ 04:59:04 EDT
This script allows you to display one or more marquees containing text that will scroll continuously without a break except when the mouse is moved over them… - Add Continuous Text MarqueeCreated: 2009-10-02 @ 04:59:04 EDT
This script allows you to display one or more marquees containing text that will scroll continuously without a break except when the mouse is moved over them… - Review of JavaScript and Dom ScriptingCreated: 2009-10-01 @ 05:18:30 EDT
There are lots of books intended to teach people JavaScript. This is not a suitable choice for those just starting out… - Converting ArraysCreated: 2009-09-18 @ 17:55:32 EDT
How to convert an array of numbers into an array of anything using a pattern array… - Letters to NumbersCreated: 2009-09-18 @ 15:36:48 EDT Updated: 2009-09-18 @ 17:51:22 EDT
How to convert letters into numbers in JavaScript… - Converting IP AddressesCreated: 2009-08-07 @ 17:37:33 EDT Updated: 2009-08-07 @ 17:39:59 EDT
Convert easily betweeen IP address formats with JavaScript… -
Ideas Machine With Links
Created: 2009-07-24 @ 17:08:59 EDT
Present your visitors with an idea selected at random. If they don't like it then they can choose another. If they do like it then they follow the link to find out more… -
Javascript Format and Colour
Updated: 2009-11-06 @ 16:13:04 EST
Unobfuscate, format, and colour-code a Javascript… -
Countdown Timer Script
Updated: 2009-10-31 @ 14:57:22 EDT
Provides a countdown to a given date and time.: sans serif font countdown timer countdown script cd id… -
Countdown Timer
Updated: 2009-10-31 @ 14:57:21 EDT
Provides a countdown to a given date and time.: sans serif font countdown timer time in sydney new york usa sydney australia… - Script IndexUpdated: 2009-10-16 @ 14:51:42 EDT
A complete alphabetical list of all of the copy/paste scripts… - What is Object Oriented JavaScript?Updated: 2009-10-09 @ 23:01:35 EDT
Introducing a series of tutorials on how and why to use an object oriented approach to writing JavaScript… - The Benefits of OO JavaScriptUpdated: 2009-10-09 @ 23:00:56 EDT
Why should use use an object oriented approach to JavaScript? Here are some reasons… - JavaScript's Built in ObjectsUpdated: 2009-10-09 @ 23:00:21 EDT
You don't have to create all your own objects in JavaScript. JavaScript provides a number of objects built into the language to get you started on object oriented processing… - Extending Built In ObjectsUpdated: 2009-10-09 @ 22:59:42 EDT
It isn't necessary to define your own objects completely from scratch in JavaScript. Simply take an existing object that handles part of what you want and add methods to it to do the rest… - Creating Objects from Existing ObjectsUpdated: 2009-10-09 @ 22:59:00 EDT
The easiest way to create a new object in JavaScript is to copy an existing object… - Creating New Objects Without Copying Existing Ones…Updated: 2009-10-09 @ 22:58:26 EDT
You don't have to directly copy another object in JavaScript when creating a new one. There are more sublte ways of creating new objects… - Dot Notation and "this"Updated: 2009-10-09 @ 22:57:51 EDT
The dot notation allows us to identify which properties and methods apply to which objects while this allows us to reference the current object without knowing its name… - prototypeUpdated: 2009-10-09 @ 22:57:10 EDT
Using the prototype property of objects avoids the duplication of code for mathods attached to similar objects… - Inheritance and "constructor"Updated: 2009-10-09 @ 22:56:28 EDT
Objects can inherit from other objects in JavaScript. The mechanism is a little different from other languages… - Associative Array NotationUpdated: 2009-10-09 @ 22:56:01 EDT
JavaScript Objects can be treated as associative arrays which allows you to use variables to contain property and/or method names… -
View Source Bookmarklet
Updated: 2009-09-21 @ 05:32:25 EDT
View the page source as seen by your web browser with this bookmarklet… -
cooking calculator example
Updated: 2009-08-21 @ 07:05:19 EDT
This script adds a cooking calculator to your page that handles most of the common and some not so common conversions between assorted measuring systems…
