May 25th in JavaScript by .

offscreen.js – Accessibly Hide And Show Elements

A couple of weeks ago I wrote an article where I changed the way jQuery’s hide() and show() function work. After publishing the article there was quite a lot of comments where people expressed their dislike of the idea of changing these two functions. Thinking about it, I see how the title of the article led people to believe that I was suggesting that jQuery should change their hide() and show() functions to use positioning as apposed to display.

In fact …

May 20th in Quick Tip by .

Quick Tip: From Elements To Console And Back Using The Command Line API

Since the release of Firebug, the way we develop and debug web sites have changed dramatically. We have moved on from the old alert() and have embraced the awesomeness that is console.log but, did you know that there is actually an entire API, originally developed by the people behind Firebug but now implemented by Webkit in their Web Inspector/Chrome Developer Tools as well as Opera’s Dragonfly and to a very limited degree in IE’s developer tools.

May 16th in JavaScript by .

Is It An Attribute Or Is It A Property? jQuery Attribute/Property Demystifier

Dymystifier, yeah right, more like a helper but, if you are reading this, I guess that the title did it’s job. Moving swiftly along though, this post is all about the new prop() function introduced in jQuery 1.6. After it’s initial introduction with 1.6 the folks behind jQuery got a ton of feedback from the community as there existed a lot of confusion about attributes, properties, how they relate to each other and when to use the well known attr() …

May 14th in Quick Tip by .

Quick Tip: Faster Web Fonts With Google Font API’s text=

Today I am starting a series of quick tips that I will hope will save you some time, teach you something new you may not know or just provide for an interesting read. These are obviously not fully fledged tutorials or how-to’s but simply highlights something interesting or new about a language, API, library and so forth.

For the first in the series I decided to focus on a new feature of Google’s Font API. With CSS3 introduces the Fonts Module …

May 8th in JavaScript by .

Enhancing jQuery’s Hide Function For Greater Accessibility

Yesterday I read an article by Aaron Gustafson on A List Apart regarding hiding elements with JavaScript and the accessibility implications depending on the technique used. As mentioned by Aaron the common way this is done in libraries, including jQuery, is by manipulating the display property.

In the article Aaron discusses five ways to hide content and what the accessibility effect is of each of these. Out of the five there is only one that passes the accessibility checklist and that is:

position:absolute;
left:-99999em;

With …

 Page 4 of 13  « First  ... « 2  3  4  5  6 » ...  Last » 
Performance Optimization WordPress Plugins by W3 EDGE