August 2011

Multiple select list disable

Let's say you have several select dropdowns on the same form. You want three different answers for the same question or a similar one. But you don't want the user to select the same option more than once. This simple jQuery setup with help you out.

There are two parts to the code. One to find which option has been selected and disable it in the other options lists.

Creating a simple parallax effect

One of the latest crazes in web design is the parallax effect, or a 3D effect created by layering. You can find a really amazing, complicated design at NikeBetterWorld. Recently I created the effect on a much simpler scale for a small wakeboarder's website. I used jQuery to get the job done. The function works as follows: