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

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

Date Methods

Tuesday March 31, 2009
You can expand the functionality of built in objects in JavaScript very easily. Date manipulation is extremely easy in JavaScript by using date objects. JavaScript does not however include all of ... Read More

Modular Code Using JavaScript Functions

Monday March 30, 2009
JavaScript supports both structured and object oriented programming. JavaScript is somewhat different from many other programming languages because it allows functions to serve a dual purpose. Not only can functions be ... Read More

Response Type

Sunday March 29, 2009
Ajax has special processing available if the response is XML In the seventh Ajax tutorial we look at the two different response types (XML and plain text) that can be returned ... Read More

Cycling Ad Banner

Saturday March 28, 2009
JavaScript can rotate the advertising on your page while your visitor is reading your content. Often when you set up a cycling banner, the purpose is to display a series of ... Read More

Scrolling Ad

Friday March 27, 2009
A little JavaScript animation can attract attention , a lot can become annoying. Get your advertising noticed without annoying visitors too much with this scrolling ad script. Your ad scrolls backwards ... Read More

Popup Blocked

Thursday March 26, 2009
Popup windows are becoming less and less useful as more and more people block them. Popup blockers vary in how agressively they block popups. You can add a small piece of ... Read More

Collision Proofing JavaScript

Wednesday March 25, 2009
Properly written JavaScripts will not interfere with each other. In this twenty second modern JavaScript tutorial we look at how you can not only make your JavaScript unobtrusive so that it ... Read More

Internet Explorer 8

Tuesday March 24, 2009
The release of IE8 a few days ago raises the bar when it comes to what the latest versions of all the popular web browsers support. While the major changes ... Read More

JavaScript Decision Making

Monday March 23, 2009
JavaScript needs to decide what parts of your code to run when. JavaScript has two ways it can make decisions on what code to run. The more commonly used way is ... Read More

Success or Failure

Sunday March 22, 2009
When you call the server from JavaScript you can't always rely on its returning a valid result In the first five Ajax tutorials we looked at how to set up and ... Read More

Julian Date

Saturday March 21, 2009
Since 1753 the calendar year has started on the 1st January (before that it started on 25th March). The Julian Date is a format that numbers the days in the ... Read More

Day of Year

Friday March 20, 2009
There is no limit to the ways that you can extend the functionality of the built-in Javascript objects. There are a whole lot of date related values that we can add ... Read More

On This Day

Thursday March 19, 2009
JavaScript can help when you need to process different things on different days of the year. The first step in setting up any sort of processing based on the day of ... Read More

Google Launches Chrome Experiments

Thursday March 19, 2009
In an effort to showcase Chrome's enhanced speed with JavaScript, Google announced Chrome Experiments. Read what Marziah, your guide to Google has to say about this development - Google Launches Chrome ... Read More

Creating Objects

Wednesday March 18, 2009
JavaScript is a prototyping language. You are not limited to just those objects that JavaScript has already defined or even to extending those objects (which would allow you to create objects ... Read More

Accessibility and JavaScript

Tuesday March 17, 2009
JavaScript is best kept completely separate from your HTML The original way that JavaScript was coded was to place script tags whereever in the page the JavaScript was needed with the ... Read More

Introduction to JavaScript Functions

Monday March 16, 2009
JavaScript ruses functions to break your code into modules and remove repetition. Functions in JavaScript are very powerful in what you can do with them but before you can get on ... Read More

Passing Parameters to the Server

Sunday March 15, 2009
You can pass information to the server with Ajax as well as requesting a response. Most times when we actually request information from the server via Ajax we need to pass ... Read More

Disable No Right Click Scripts

Saturday March 14, 2009
The most popular way of driving visitors away from a site is to try to block the normal functioning of your browser as not everyone knows how easily such interference ... Read More

View Source User Script

Friday March 13, 2009
What the browser ends up displaying depends not only on the initial HTML and CSS but also on the JavaScripts that have been run to manipulate that page content. Make ... Read More

Display Table Borders Bookmarklet

Thursday March 12, 2009
Getting rid of layout tables from your HTML makes yhour page more semantically correct. Everyone who hasn't been living under a rock for the past 10 years knows that you should ... Read More

Extending Objects

Wednesday March 11, 2009
When JavaScript doesn't provide the method you need you can add it yourself. In the last few modern JavaScript tutorials we have looked at the many different objects that JavaScript defines ... Read More

Onload and the DOM

Tuesday March 10, 2009
Who can read next month's magazine before it is delivered to the shops? No one other than the people who work for the magazine. In the same way JavaScript can't ... Read More

"Professional Javascript for Web Developers"

Monday March 9, 2009
Experienced programmers have a different approach to learning JavaScript While most beginners to JavaScript need to learn the basics of programming as well as how to apply that to JavaScript, experienced ... Read More

Send the Request

Sunday March 8, 2009
We can't get a response from an Ajax call unless JavaScript sends the request Having created an Ajax request in our web page to request information from the server we need ... Read More

Passing the Referrer in a Form

Saturday March 7, 2009
JavaScript can find out what page a visitor was on last provided that your visitor is prepared to let you know If you want to know where your visitor came from ... Read More

Display Random Image or Quote

Friday March 6, 2009
JavaScript can update your page for visitors even when you are away from your computer. If you have a number of images, quotes, links, ads or whatever and you want to ... Read More

Sliding Menu

Thursday March 5, 2009
Keep your navigation links out of the way until they are required using JavaScript. People visit your web page to read the content of the page. The navigation options that you ... Read More

Other Objects

Wednesday March 4, 2009
JavaScript has quite a few pre-defined objects many of which you will rarely use. In the last few modern JavaScript tutorials we have looked at some of the types of object ... Read More

Head Scripts and Body Scripts

Tuesday March 3, 2009
Adding prewritten JavaScript to your web page is just a matter of knowing where to put what. If you want to add JavaScript to your page and you don't understand ... Read More

JavaScript For Beginners

Monday March 2, 2009
You need to understand JavaScript terminology in order to write JavaScript. Beginners to programming often become confused because they don't take the time to understand the basic concepts before jumping in ... Read More

Response Event Handler

Sunday March 1, 2009
Web pages don't always have to wait for JavaScript The 'A' in Ajax supposedly stands for asynchronous. What this means is that we will send a request to the server for ... 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.