Creating a form with labels inside text fields using jQuery

It’s common to see forms that have a label displayed inside text fields which then disappear when you click into the field. Let’s go through an example for a login form that demonstrates a method for doing this.

Read More »

Posted in jQuery | Tagged , , , , | Comments closed

Installing Django with Apache and mod_wsgi on Ubuntu 10.04

Step by step instructions for installing Django with Apache and mod_wsgi on Ubuntu 10.04.

Read More »

Posted in Django | Tagged , , , | Comments closed

Setting up Open Source Flex SDK with debugging on Ubuntu

Step by step instructions for setting up Open Source Flex SDK with debugging on Ubuntu.

Read More »

Posted in Flex | Tagged , , , , | Comments closed

HTML Checked, Disabled and Selected attributes

Checked, Disabled and Selected are common HTML Boolean attributes. So what’s the correct way to specify these (and any other similar Boolean attributes) in your HTML markup?

Read More »

Posted in Web Development | Tagged , , , , , , | Comments closed

Find the position of an element with JavaScript

Quirksmode provides a nice findPos() function to find the absolute position of an element on a page.

If you need to find the position of the element relative to the viewport then you will also need to know the page’s current scroll position, which I found over at Stack Overflow.

Read More »

Posted in JavaScript | Tagged , , , , | Comments closed