I have been using reCAPTCHA a lot lately, but the default UI is not very intuitive nor pretty. Thanks to reCAPTCHA Wiki, I found out that you can customise the look and feel of reCAPTCHA using theme option. See below for my sample code.
<script type="text/javascript">
var [...]
This example shows how to populate dropdown menus automatically with values from a JSON object using jQuery. Among other things, it demonstrates:
How to define a JSON object in Javascript
How to write a custom function in jQuery using $.fn
How to traverse a JSON object using jQuery
How to populate a dropdown menu dynamically using [...]
This is a lazy fix to redirect any url that doesn’t exist (resulting in 404) to the homepage.
Add the following line of code into the .htaccess file inside the root directory of your website.
ErrorDocument 404 /
All these CSS are used in a conditional CSS file for IE 6 to ensure CSS validity as some of the properties used here are proprietary to the IE 6 browser.
<!–[if IE 6]>
<link rel="stylesheet" type="text/css" href="ie6.css" />
<![endif]–>
Setting an opacity
.transparency {
filter: alpha(opacity=50);
}
Change the link to a hand cursor
a.link {
cursor: [...]