Jan 22, 2010 by Matt | Posted in Coding
Version 1.4 of jQuery has been released, and Net.Tuts+ has published a nice guide to some of the more interesting features that are now available.
I’m particularly interested in the first item, which sounds intriguing.
Pre 1.4, jQuery supported adding attributes to an element collection via the useful “attr
” method, which can be passed both an attribute name and value, or an object specifying several attributes. jQuery 1.4 adds support for passing an attributes object as the second argument to the jQuery function itself, upon element creation.
A few other things that have been added are: more live() events, animation queue delays, a method to check whether an element contains another element with a certain selector, and a way to remove elements without destroying the data.
It certainly is a feature-packed release.
jQuery 1.4 Released: The 15 New Features you Must Know [Net.Tuts+]
Jan 21
There is no shortage of “premium” WordPress themes nowadays, and their creators are fairly large in number as well. You have the monumental WooThemes, the bargain ThemeForest, and DIYthemes, the people behind the ever-popular Thesis theme, to name just a few. Companies aside, what…
Jan 20
The New York Times is expected to announce that they will be charging online readers to access their content. The newspaper is expected to announce in coming weeks that it will institute a metered pay plan in which readers would have access to a…
Jan 19
I was listening to an interesting WordPress Weekly interview recently, which brought to my attention an intriguing web hosting service called Page.ly. Page.ly aims to be “Easy like WordPress.com with the Freedom of WordPress.org.” The general idea is to provide a basic web hosting…
Jan 18
Warner Brothers recently inked a deal with Netflix, where they agreed to allow more of their films to added to the Instant Watching service, in exchange for not receiving any future WB new releases until 28 days after their DVD launch. The cinema giant,…
Jan 15
There’s a really neat post over at Tutorialzine on how to build A Twitter List Powered Fan Page. It’s a little widget, that would go in your sidebar or some similar place, where it would display the Twitter avatars of anyone who wanted to…
Jan 14
Want to round the corners of an element without messing around with images and tricky CSS? You can do it with pure CSS, but, of course, it won’t work in Internet Explorer. (Or Opera, for that matter.) Fortunately, the effect devolves gracefully. As an…
Jan 13
WoorkUp has an interesting post on oEmbed, and how you can use jQuery to take something like a YouTube or Flickr URL and automatically load the video or image on the page. Facebook uses this technique to fetch thumbnails and descriptions when you post…
Jan 12
Chris Coyier (of CSS-Tricks) has authored On Web Advertising, a brief piece with an accompanying screencast that explains just how online advertising works, and his opinions on it. There is nothing “evil” about advertising. Creating content takes blood, sweat and tears. Creating products takes…