Simple URL redirection made using JavaScript and the window.location() function. Also provided an example how to make URL redirection with time delay, using the setTimeout() function in Java Script.
This tip demonstrates different ways of implmenting a replaceAll and discusses their pros and cons.
It shows both the easiest "set & forget" method as well as demonstrating the best way to code for maximum performance.
The TreeWalker object is a powerful DOM2 object that lets you easily filter through and create custom collections out of nodes in the document. This is a comprehensive tutorial on how to utilize this object.
External JavaScript can reference not just .js files, but PHP scripts as well. See how this is done, and the wonderful possibilities linking PHP to JavaScript bring.
This tutorial shows you how to create a small snippet of code which will display the last time the file was modified. Very useful for keeping track of page updates or informing your visitors of how old the page content is.
An introduction to Object Oriented Programming in Javascript. This example creates a small user control that can be used repeatedly and independantly on the same web page.
Use the Dreamweaver behaviors panel to create small pop-up windows. This behavior helps to create pop-up ads, small browser windows etc. If you don't have Dreamweaver we have provided the code that you can cut 'n' paste and use in your web page.