Recently, I was asked how it is possible to make website forms compatible with Google Toolbar Auto Fill, Wand and other auto fill or wallet software. The answer is quite obvious – the form fields “name” attributes should comply to certain rules and naming conventions, but the problem is that it is hard to find [...]
Archive for October, 2008
Using ECML 1.1 to Make Website Forms Compatible with Google Toolbar AutoFill and WAND
Posted in Forms, Tips and Tricks, Web Development, tagged auto fill, autofill, ECML, ECML 1.1, Electronic Commerce Modeling Language, Field Specifications for E-Commerce, Forms on October 28, 2008 | Leave a Comment »
Using compatMode to Determine the Standards Compliance Mode of the Page on the Client
Posted in Browsers, doctype, JavaScript, Tips and Tricks, Web Development, tagged compatMode, compatMode FF, compatMode IE, compatMode Opera, determine if a page is in a standards-compliance or in, determine the doctype of the page, doctype, document type declaration, document type definition, dtd, get dtd, get the doctype of a webpage, quirks mode, standards-compliance mode, strict mode on October 21, 2008 | Leave a Comment »
Have you ever used the compatMode property JavaScript to determine if a web-page is in standards-compliant or in quirks mode directly on the client? compatMode was first introduced in Internet Explorer 5.5, and later adopted by FireFox and Opera, and is rather convenient for third party component developers. One of its possible uses is if you [...]
Unobtrusive CSS Loading Indicator for Images
Posted in CSS, Tips and Tricks, Web Development, XHTML, tagged loading indicator on October 7, 2008 | 3 Comments »
A few developers are actually aware that the image tag supports background images (as well as practically any other CSS property). Here is a quick and unobtrusive technique for creating loading indicator for images without using JavaScript, that relies on the above feature. 1. Create a loading indicator. You may use http://ajaxload.info. 2. Create the [...]
CSS: Filtering and Distinguishing Google Chrome and Safari
Posted in Browsers, CSS, CSS Hacks, Tips and Tricks, tagged css filters, css hack, google chrome css hack, safari css hack on October 1, 2008 | 4 Comments »
As body:nth-of-type(1) and body:first-of-type are supported by FireFox 3.5x, the hack that I wrote about in this post cannot be used anymore. You may try the following one, which targets only Google Chrome and Safari. Personally, I avoid using CSS hacks, and when writing client code I always assume that anything can be done the “legal” [...]