testimonials

Creating Contact Forms With XHTML

August 13, 2009 at 12:02 am | CSS, PHP, Programming, Tutorials, Web Development, XHTML, XHTML/CSS Tutorials | 3 comments

Here’s another nice tutorial for beginners. In this one we’ll write the markup for a simple contact form that you could use on a website. Nothing too complicated or fancy, but we’ll talk about how we can add some nice effects to it easily using CSS. We’ll use PHP to have the form send an email when it’s filled out. I’ll also talk about what we can do for form validation.

(more…)

Hover Effect Using JavaScript

August 10, 2009 at 9:36 pm | JavaScript, JavaScript Tutorials, Programming, Tutorials | No comments

Here’s a pretty simple JavaScript tutorial. This script will allow us to change images on mouse over and mouse out, letting us create a nice hover effect. I’ve used this technique on several sites that I’ve designed. We’ll also take a look at how we can pre-load the images to reduce lag time in the hover. Here’s the end result. Let’s get started.

(more…)

Using JavaScript’s Random Function

May 17, 2009 at 9:10 pm | JavaScript, Programming | No comments

In this post I’ll talk about using JavaScript’s Math.random() function in combination with arrays (or arraylists). Math.random is a very useful tool whenever you need to do something randomly (big surprise?). In fact, I recently used it for a random testimonial display system I coded for Clarion Media. Math.random() was perfect for this because it allowed us to display a random testimonial from a pool of testimonials on the Clarion Media website. So, how do we use the random function in conjunction with arrays? First we need to get an understanding of how Math.random() works. (more…)

Validating Form Input Using JavaScript

January 23, 2009 at 9:59 pm | JavaScript, JavaScript Tutorials, Programming, Tutorials | No comments

Here’s an easy tutorial with a very useful application. We’ll learn how to valide form input using JavaScript. This way, people will be required to fill certain fields when they use your form, and we’ll increase the chance of getting legitimate email addresses. This is a nice and quick walkthrough, so let’s jump in! (more…)