Wandering Hearts
Thursday April 30, 2009
Animate your page with JavaScript
JavaScript can't help you to capture the heart of the one you love but it can add the appearance of a little romance to your page. ... Read More
Double Bar Menu
Wednesday April 29, 2009
There are all sorts of different menus that you can add to your page with JavaScript
The double cross bar menu is one that is popular with some sites. Selecting an ... Read More
Hexadecimal Conversion
Tuesday April 28, 2009
Computers don't count the same way we do. JavaScript can convert for us.
Computers work in binary while we usually use decimal numbers. To make the conversion between them easier hexadecimal ... Read More
Learn Modern JavaScript
Monday April 27, 2009
JavaScript today is a lot different from JavaScript of several years ago.
The JavaScript language has changed a lot in recent years with the addition of proper support for the document ... Read More
Parsing XML
Sunday April 26, 2009
JavaScript contains code to make parsing XML returned from the server in order to make it easier to add it into your page.
One common way to get the information passed ... Read More
Writing Cookies
Saturday April 25, 2009
JavaScript can write both session and first party cookies
There are four fields that can be assigned values when you write a cookie. Depending on which you use and what you ... Read More
Reading Cookies
Friday April 24, 2009
JavaScript reads all accessible cookies at once
The document.cookies object contains all of the information stored in all of the cookies accessible to the web page. Extracting the individual cookies is ... Read More
Getting Started With Cookies
Thursday April 23, 2009
The only way JavaScript can write anything is using cookies.
One of the simplest ways to pass information between web pages is via cookies. Here's a brief introduction to the different ... Read More
Unobtrusive Easter Calculator
Wednesday April 22, 2009
Easter for all Christians other than Orthodox was the weekend before last this year with Orthodox Easter following last weekend. They don't always follow each other like this but for ... Read More
Obtaining Your Visitor's IP Address
Tuesday April 21, 2009
Sometimes JavaScript needs a little help.
JavaScript can't actually access your visitor's IP address directly but with a little help from some other language you can make the IP address available ... Read More
Age Last Birthday
Monday April 20, 2009
How old a person was on their last birthday is usually what we want when we ask their age.
How do we get someone's age using JavaScript? Simply subtracting their date ... Read More
Javascript Object Notation
Sunday April 19, 2009
JavaScript Object Notation is not only a valid way to define objects in JavaScript, it also provides a convenient way to pass data between the server and the client.
The eleventh ... Read More
Dynamic Dropdowns
Saturday April 18, 2009
Forms take up less space when you use JavaScript to modify parts of the content based on prior responses.
One way of placing a lot of info in a small space ... Read More
Linked Dropdowns
Friday April 17, 2009
JavaScript can handle any sort of link between drop down lists
Sometimes when you have multiple dropdown lists in your form there may be a relationship between those lists. This tutorial ... Read More
Design for Usability
Thursday April 16, 2009
JavaScript can help to make a web page easier (or harder) to use.
Just how the JavaScript that you add to your web page contributes to the usability of your page ... Read More
Obsolete JavaScript
Wednesday April 15, 2009
Some original JavaScript commands have been superceded by something better.
Before the introduction of the Document Object Model, JavaScript had very few ways of interacting with your visitors. Now those ways ... Read More
Collapsible Menus
Tuesday April 14, 2009
Reduce the space your navigation options take up using JavaScript
Space on the screen is precious and content and navigation menus compete for that space. Let your visitors decide how much ... Read More
Hover Menu
Monday April 13, 2009
Stop your navigation options scrolling off the screen with JavaScript.
Easy web site navigation means having a number of links visible in the browser window so that your visitor can select ... Read More
Setting Response Type
Sunday April 12, 2009
How do we set an Ajax response to be XML or text so that JavaScript can tell how to process it?
In the last Ajax tutorial we looked at how we ... Read More
Hangman
Saturday April 11, 2009
JavaScript games may attract more visitors to a personal web site.
JavaScript can do a lot more than just enhance the functionality of a professional web site. People trying to use ... Read More
Concentration/Memory Game
Friday April 10, 2009
Some JavaScript is just for fun.No sooner had I created a version of the Memory Game that doesn't require any images than people started sending me requests for a version ... Read More
Concentration Game
Thursday April 9, 2009
Play games with JavaScript
Have you heard of a game called "Concentration"? Perhaps you know it as the "Memory Game". You know the one where you have so many pairs of ... Read More
Updating the Web Page
Wednesday April 8, 2009
JavaScript can update the web page without needing any JavaScript mixed in with the HTML.
In the twenty fourth tutorial on modern unobtrusive JavaScript we take a brief look at the ... Read More
Ajax - Get or Post
Tuesday April 7, 2009
Ajax can use either get or post to send data to the server
Deciding whether to use get or post when making ajax requests needs to be based on different criteria ... Read More
Ajax - Asynchronous or Synchronous
Monday April 6, 2009
Ajax supports both synchronous and asynchronous calls
One decision you need to make when using Ajax is whether to make your calls synchromously (where the page waits for the response) or ... Read More
responseText and responseXML
Sunday April 5, 2009
Sometimes an ajax request supplies the response in two different ways.
The eighth Ajax tutorial looks at how we can access the results returned from our Ajax request to the server. ... Read More
Rollover with Captions
Saturday April 4, 2009
JavaScript defines the behaviour of a web page
An image rollover is one of the simplest of JavaScripts. Often though it is not just the image that you want to have ... Read More
Highlighting Selected Words
Friday April 3, 2009
JavaScript allows your visitors to interact with your web page.
When you visit a web page wouldn't it make it easier to find what you were looking for if you could ... Read More
Toggle Action
Thursday April 2, 2009
Web pages are usually stateless - meaning that when someone visits a web page the page behaves the same regardless of what they did before.
To allow a web page to ... Read More
JavaScript and Forms
Wednesday April 1, 2009
Unobtrusive form validation is possible
In this twenty third modern JavaScript tutorial we look at how to redesign the way that JavaScript interacts with forms so as to make all of ... Read More

