1. Home
  2. Computing & Technology
  3. JavaScript
photo of Stephen Chapman

Stephen's JavaScript Blog June 2007 Archive

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

Limiting Selections

Saturday June 30, 2007
JavaScript bridges the gap between radio buttons and checkboxes. Radio buttons work perfectly when you want your visitors to select one out of a number of options. They don't help when ... Read More

Site Navigation

Friday June 29, 2007
JavaScript allows you to use a drop down list for site navigation If you have lots of pages on your web site then providing a plain list of links will take ... Read More

Display Author Time

Thursday June 28, 2007
JavaScript can tell the time at different places Let your visitors know what time it is where you are with this Javascript. As long as your visitor's have their local time ... Read More

Character Classes

Wednesday June 27, 2007
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

Expanding and Shrinking Text Banner

Tuesday June 26, 2007
Animate text with JavaScript Create an attention grabbing text banner on your page by having the text expand and then shrink to be replaced by the next line of text. Expanding and ... Read More

JavaScript Hashing

Monday June 25, 2007
You can use MD5 or SHA1 encryption with JavaScript One way encryption (or hashing) is possible with JavaScript. It is just not very useful since your visitors can always modify the ... Read More

Country Drop Down

Saturday June 23, 2007
Let JavaScript generate long pieces of HTML for you The countries of the world don't change much or often and so the country field on your forms can best be done ... Read More

Rollover Gallery

Friday June 22, 2007
Image galleries are simple with JavaScript Have you seen web pages where there is a row of small images and one larger image and the larger image changes when you move ... Read More

Counting Words

Thursday June 21, 2007
Count words with JavaScript Have a text area in a form and want to know how many words your visitor enters? This simple JavaScript will keep count for you. Counting Words

Meta Characters

Wednesday June 20, 2007
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

JavaScript Encryption

Monday June 18, 2007
Real Encryption is possible with JavaScript Almost all of the more knowledgeable JavaScript programmers claim that truly hiding your page source so that only those with the right password can access ... Read More

Window Close

Saturday June 16, 2007
Windows opened from JavaScript can be closed from JavaScript. Javascript can open new browser windows (subject to popup blockers). It can also close those windows again. You can even choose whether ... Read More

Limiting Textarea Text

Friday June 15, 2007
JavaScript can add the functionality missing from HTML. You can easily specify the amount of text that can be entered into an input field using the maxlength attribute. There is no ... Read More

Plain Text Please

Thursday June 14, 2007
JavaScript requires a plain text editor One problem that a lot of people who are new to JavaScript have when following the instructions on how to copy someone's script onto their ... Read More

Start and End

Wednesday June 13, 2007
By testing for the start and end of the string you can test the entire content. In the fifth tutorial on "Regular Expressions" we look at the first of the characters ... Read More

The Three Parts of JavaScript

Tuesday June 12, 2007
JavaScript can be divided into three parts Different sets of standards apply to each of the three parts of JavaScript and support for the given standards for each part can vary ... Read More

Javascript and JScript

Monday June 11, 2007
Most JavaScript can also run as JScript. JavaScript and JScript are two different programming languages. JavaScript runs in most web browsers with the most popularly used exception being Internet Explorer. JScript ... Read More

Formatting Numbers

Saturday June 9, 2007
The format Javascript wants to work with isn't always the same as the format you want to display the result in. To be able to process numbers in Javascript they must ... Read More

Convert to Roman Numerals

Friday June 8, 2007
JavaScript can display the answer in roman numerals Sometimes displaying a number on your web page as a normal number just doesn't look right. Sometimes it may be more appropriate to ... Read More

Numbers to Words

Thursday June 7, 2007
Convert numbers to Words with JavaScript. Javascript does an excellent job of being able to manipulate numbers and even provides some quite advanced mathematical functions. What happens though when you want ... Read More

Splitting Matches

Wednesday June 6, 2007
JavaScript regular expressions can perform many useful tasks. The fourth tutorial on "Regular Expressions" shows you how to split a string into pars by matching it with a regular expression. Splitting ... Read More

Debugging Javascript

Tuesday June 5, 2007
The various web browsers provide you with all of the facilities you need to locate the errors in your Javascript code. It isn't enough just to write JavaScript and hope that ... Read More

Adding Javascript from Javascript

Monday June 4, 2007
JavaScript can easily download and run additional JavaScript You don't need to use Ajax to download additional JavaScript code to run on your page. All that you need to do is ... Read More

Format Your Javascript

Saturday June 2, 2007
Nicely formatted JavaScript is easier to read If you have copied a Javascript that comes from a script library or have one that you wrote that is not nicely formatted with ... Read More

Popups and Blockers

Friday June 1, 2007
Reduce the chance of your JavaScript propup windows getting blocked. All browsers now come with a popup blocker to block popup windows opened automatically by Javascript. Unfortunately some are not as ... Read More

Explore JavaScript

More from About.com

  1. Home
  2. Computing & Technology
  3. JavaScript

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

All rights reserved.