CSS Code, JavaScript Code, SQL Code

Easily create CSS tabs with PHP and AJAX

There are many different ways of simplifying an interface, and one of the best is by means of using tabs. I've written a couple of tutorials on making tabbed interfaces with CSS. However, it would be even easier to just have a class that generates the tabs automatically. Well, this class can be used to generate a tab based Web interface.
JavaScript Code

A very fast way to validate a form with JavaScript

There are many universal form validation functions out there. But I created this very quick function to very easily check for input, without modifying your form fields in any way, and without have to check each field individually. The script just checks for a value, it doesn't validate the format (like an email address), because that's very easy to add, so you can do it...
JavaScript Code

Check IP format with Regular Expressions in JavaScript

Here's a quick JavaScript function to check that a user has entered a valid IP address. Don't ask me why, but there may be times when you need a user to input an IP address, rather than just grab theirs. And it's always easier to check first on the client side with JavaScript than having to do all the validation on the post back to...
JavaScript Code, Web

Google Maps causes Internet Explorer to crash

I was working on a site the other day, and I came across the error on a page that I've never seen before. The page had an embedded Google Map, and there was a JavaScript function to display the map. The page worked in FireFox, but when I ran it in IE, I got the following JavaScript error: Internet Explorer could not open the internet...
DHTML Code, JavaScript Code

How to load XML data with JavaScript (AJAX tutorial)

The latest technology (or grouping of technologies) sweeping the web is AJAX (Asynchronous JavaScript And XML). This technology, using the XMLHttpRequest() object to retrieve a piece of XML in the background, and load its contents into the web page dynamically, thus creating a constantly refreshed Dynamic HTML (DHTML) interface. You can make very complication AJAX code, but this is the bare-bones code to simply grab...