Archive for the ‘Code Snippets’ Category
- Detect IE in JS using conditional comments Aug 20, 2010
- Library foundation code Apr 26, 2010
- Sorting elements with jQuery Mar 19, 2010
- Cross-domain requests with jQuery Jan 12, 2010
- Simple pulse plugin for jQuery Dec 16, 2009
- Partial loop “unrolling” Nov 13, 2009
- JavaScript comment removal – revisited Sep 11, 2009
- Contextual SCRIPT tags Aug 31, 2009
- Satisfy that selector! Aug 20, 2009
- jQuery.fn.map enhancement Aug 7, 2009
- Avoiding DOM flickering Jul 23, 2009
- Recursive “pretty date” Jul 19, 2009
- String.prototype.extract Jul 14, 2009
- Retaining a reference, the simple way Jun 27, 2009
- “wordwrap” for JavaScript Jun 26, 2009
- Metadata within HTML comments Jun 15, 2009
- Fastest way to build an HTML string May 29, 2009
- jQuery plugin detector May 17, 2009
- Konami Craziness May 9, 2009
- Asynchronous innerHTML Apr 25, 2009
- A better data selector for jQuery Apr 23, 2009
- Really easy speed testing Apr 19, 2009
- Fixing “:focus” in Internet Explorer Apr 16, 2009
- Find and replace text with JavaScript Apr 5, 2009
- ‘Events’ interface for jQuery Mar 31, 2009
- Using YQL with JSONP Mar 21, 2009
- New code-view feature Mar 14, 2009
- Preventing an unintended exit Mar 10, 2009
- jQuery plugin: ‘autoResize’ Mar 7, 2009
- ‘tweetFromFile’ PHP Class Mar 2, 2009
- Fun with Getters & Setters Mar 1, 2009
- Parsing URLs with the DOM! Feb 19, 2009
- Random & Unique! Feb 14, 2009
- Shuffling the DOM Feb 4, 2009
- Clear a field on focus Feb 3, 2009
- Getting the real time in JavaScript Jan 29, 2009
- Regex Selector for jQuery Jan 28, 2009
- Getting a fully qualified URL Jan 21, 2009
- jQuery ‘delay’ plugin Jan 13, 2009
- Checking types in JavaScript Jan 12, 2009
- Debug jQuery events with ‘listHandlers()’ Jan 8, 2009
- Preloading images from a directory Jan 7, 2009
- Get document height (cross-browser) Jan 6, 2009
- Highlighting text with JavaScript Jan 3, 2009
- Tacky page fading ‘trick’ Dec 31, 2008
- Test for an external link Dec 30, 2008
- Debugging with $.log() or log() Dec 30, 2008
- Passing a function to jQuery’s CSS() method Dec 30, 2008
- jQuery: $(elem).with(); Dec 30, 2008