1. Home
  2. Computing & Technology
  3. JavaScript
photo of Stephen Chapman
Stephen's JavaScript Blog October 2008 Archive

By Stephen Chapman, About.com Guide to JavaScript since 2004

Event Calendar

Friday October 31, 2008
Display acalendar with important events marked using JavaScript An event calendar works best when you perform a server side lookup to retrieve the events to display for a particular date however ... Read More

Hello World

Wednesday October 29, 2008
Modern JavaScript is kept in a separate file and interacts unobtrusively with your web page. JavaScript has changed quite a bit in the last few years since I wrote my JavaScript ... Read More

Head First Ajax

Tuesday October 28, 2008
Not all books in the same series are necessarily to the same standard While most of the "Head First" books are excellent for beginners, this book contains several very basic errors ... Read More

location

Monday October 27, 2008
where am I on the web? JavaScript can tell you using the window.location object One of the most useful of the Browser Object Model objects that is supported by all browsers ... Read More

Greedy, Reluctant and Possessive

Sunday October 26, 2008
Control how your regular expressions try to match the content Sometimes you want to find the longest possible matching string and sometimes you want the shortest possible matching string. The ninth ... Read More

Referring Site

Saturday October 25, 2008
JavaScript can help you work out where some of your visitors came from How can you find out what site your visitor came from? Well with JavaScript you can use document.referrer. ... Read More

Automatic Language Selection

Friday October 24, 2008
JavaScript can find out what language your visitors are using on their computer Do you want to put multiple language versions of your content onto your site. JavaScript can't help you ... Read More

Site Redirect

Thursday October 23, 2008
JavaScript can help when you move your site If you don't have your own domain name then when you move your site it will end up on a new domain. If ... Read More

Modern Combo Box

Tuesday October 21, 2008
HTML doesn't provide all the possible form fields, some we have to add ourselves with JavaScript. The combo box is one form field that HTML does not provide (although from the ... Read More

window.document

Monday October 20, 2008
The Document Object Model is attached to window.document and some of the Browser Object Model is too. In this fourth tutorial on the Browser Object Model we look at the more ... Read More

Repetitions

Sunday October 19, 2008
Regular Expressions make JavaScript comparisons easier The eighth tutorial on Regular Expressions looks at how to test for multiple repetitions of the same character (or class of character). Repetitions

Number Bases and Leading Zeros

Friday October 17, 2008
JavaScript can work with octal and hexadecimal numbers as well as decimal. Sometimes functions such as parseInt() don't do quite what you expect in converting text into numbers. This is because ... Read More

Structured Programming

Thursday October 16, 2008
There are several ways to organise your JavaScript code There are a number of different ways that you can write programs using JavaScript. You can just throw something together any old ... Read More

Breaking Text into Chunks

Tuesday October 14, 2008
Usually when writing something in code the text is broken up into a number of chunks each of which contains the same number of characters. There are of course other reasons ... Read More

Timeouts and Intervals

Monday October 13, 2008
The most useful browser object model commands are those that delay processing The setTimeout ans setInterval calls are just about the most useful of the Browser Object Model commands. They are ... Read More

Character Classes

Sunday October 12, 2008
You can group characters into classes with regular expressions The seventh Regular Expression tutorial shows you how to group characters together into classes. Any character within a class can provide a ... Read More

Bubbles

Saturday October 11, 2008
JavaScript can enhance a theme web site Is the subject of your site something to do with the sea or water? Give your visitors a sense of actually being there. This ... Read More

Slide Show

Friday October 10, 2008
Let your visitors step through a selection of images one after the other with a JavaScript slideshow. A variation on the mouseover script that will load a succession of images in ... Read More

Cycling Banner

Thursday October 9, 2008
Animate your images with JavaScript You can use JavaScript to replace images on your page at regular intervals. This is useful for when you want to use photos or other images ... Read More

JavaScript : The Missing Manual

Tuesday October 7, 2008
Some JavaScript book titles are misleading I actually reviewed this book a couple of weeks ago and then got sidetracked onto something else and forgot to tell you about it. JavaScript : ... Read More

window

Monday October 6, 2008
The most commonly referenced part of the Browser Object Model is the window object. Just about everything that you access using JavaScript from within a web browser is accessed as properties ... Read More

Meta Characters

Sunday October 5, 2008
Regular Expressions have special values to represent ranges of characters. The sixth tutorial in the "Regular Expression" series introduces the concept of meta characters. Meta characters are those characters which have ... Read More

Modal Dialog Box

Saturday October 4, 2008
Build your own in page modal dialog boxes using HTML One thing that has always been difficult to achieve for web pages is the addition of modal dialog boxes (that don't ... Read More

Modal Image Box

Friday October 3, 2008
In page picture galleries are more user friendly than ones that use a popup window With popup windows falling from favour with web visitors, you may prefer to use an alternative ... Read More

Modal Windows

Thursday October 2, 2008
Few browsers support making modal windows There is no standard way to make a popup window into a modal dialog box. Both Internet Explorer and the Mozilla based browsers (including Firefox ... Read More
Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.