jQuery 1.3 : Working with numeric form data (part 2) |
When improving the contact form, we discussed some input validation techniques. With JavaScript, we verified that what the user typed matched what we were expecting so that we could provide feedback before the form was even sent to the server. |
|
|
The Art of SEO : Controlling Content with Cookies and Session IDs |
A cookie is a small text file that websites can leave on a visitor’s hard disk, helping them to track that person over time. Cookies are the reason Amazon.com remembers your username between visits and the reason you don’t necessarily need to log in to your Hotmail account every time you open your browser. |
|
|
|
|
|
|
|
CSS for Mobile Browsers : CSS Sprites |
CSS Sprites is a great modern web design technique for reducing the number of image server requests on a web page. There are a lot of online resources and books available on this technique. |
|
CSS for Mobile Browsers : Common Patterns (part 4) |
Changing the background color was the first new feature in XHTML MP that every WML developer used. It was heaven after the old black and white WML. Every mobile browser understands the background property and its specific definitions, like background-image and background-repeat |
|
|
|
|
|
jQuery 1.3 : Compact forms (part 6) |
There's one final tweak we will make to our auto-complete behavior. We should hide the suggestion list when the user decides to do something else on the page. |
|
jQuery 1.3 : Compact forms (part 5) |
We can use the keyCode attribute of the event object to determine which key was pressed. This will allow us to watch for codes 38 and 40, corresponding to the up and down arrow keys, and react accordingly |
|
jQuery 1.3 : Compact forms (part 4) |
Since the user is already at the keyboard, and typing in the search term, it is very convenient to allow the keyboard to control selection from the suggestion list as well. |
|
jQuery 1.3 : Compact forms (part 3) |
We need to use keyup, not keydown or keypress, as the event that triggers the AJAX request. The latter two events occur during the process of the key press, before the character has actually been entered in the field. |
|
jQuery 1.3 : Compact forms (part 2) - AJAX auto-completion |
We need some server-side code to handle requests. While a real-world implementation will usually rely on a database to produce a list of possible completions, for this example we can use a simple PHP script with the results built in |
|
|
|
|
|
The Art of SEO : Content Optimization (part 2) |
Few can debate the value the engines place on robust, unique, value-added content—Google in particular has had several rounds of kicking “low-quality-content” sites out of its indexes, and the other engines have followed suit. |
|
The Art of SEO : Content Optimization (part 1) |
Content optimization relates to how the presentation and architecture of the text, image, and multimedia content on a page can be optimized for search engines. Many of these recommendations are second-order effects |
|
|
|
iPad SDK : New Graphics Functionality - Bezier Paths |
Starting with version 3.2, iOS includes some compelling new graphics capabilities. Besides the larger screen in the iPad, the software has also been updated with some new features that will help developers make their apps even better. |
|
|