Section


Various sections of the site go here


Monday, December 15th, 2008

PNG support in IE6 that reclaims background repetition and position

Category: JavaScript, Library

Drew Diller has created a helper library in the “yup, you still have to get things working in IE 6” department. DD_belatedPNG adds PNG support to IE6 that works with background-repeat and background-position. You just do this: < View plain text > HTML <!–[if IE 6]> <script src="DD_belatedPNG.js"></script> <script>    DD_belatedPNG.fix(‘.png_bg’); /* EXAMPLE */   Read the rest…

Posted by Dion Almaer at 7:24 am
6 Comments

++++-
4.2 rating from 37 votes

Extending jQuery selectors with JavaScript

Category: jQuery

< View plain text > javascript // Flag images upon load: $(‘img’).load(function(){     $(this).data(‘loaded’,true); });   // Extend expr: $.extend($.expr[‘:’],{     loaded: function(a) {         return $(a).data(‘loaded’);     } });   // Example of usage: alert( ‘Images loaded so far: ‘ + $(‘img:loaded’).size() ); This code is one example Read the rest…

Posted by Dion Almaer at 6:15 am
2 Comments

+++--
3.8 rating from 50 votes

App Discover: An add-on to aid discoverability in the browser

Category: Browsers

Snuck over this post about getting better discoverability into the browser from me personal blog Greasemonkey and Fluid userscripts. AIR and the new Titanium apps. Browser add-ons. When you go to a website do you know if you are getting the best experience for you? You could search for script on userscripts, or Google for Read the rest…

Posted by Dion Almaer at 12:34 am
1 Comment

+++--
3.1 rating from 17 votes

Friday, December 12th, 2008

YQL – converting the web to JSON with mock SQL

Category: JavaScript, JSON

I like getting data from the web and I love JSON – as it is easy to use. The issue is that not many things on the web come as JSON from the get-go. Hence we need converters. You can use cURL and beautiful soup or roll your own hell of regular expressions. Alternatively you Read the rest…

Posted by Chris Heilmann at 4:20 pm
15 Comments

++++-
4.3 rating from 52 votes

Travians: Sims meets Cultures, with Ajax

Category: Fun, Games

Steve Mattison let us know about a new AJAX game has been released by the makers of that old popular PHP-based village building game Travian. This one is more like Sims meets Cultures, and it is called Travians: “Travians is a browser game in which you rise to the challenge of everyday life as a Read the rest…

Posted by Dion Almaer at 7:44 am
11 Comments

+++--
3.5 rating from 46 votes

Cappuccino 0.6 Released

Category: Apple, Framework, JavaScript

The Cappucinno team has a new release, 0.6 that include: New language addition to Objective-J: The @accessors keyword to eliminate the boiler plate code of writing setters and getters. Read more about it here. Support for more classes like CPTimer. Performance improvements all around, but especially in Objective-J thanks to a major rewrite of the Read the rest…

Posted by Dion Almaer at 7:06 am
Comment here

+++--
3.4 rating from 24 votes

The fundamental problems with CSS3

Category: CSS

Matt Wilcox thinks that there are fundamental problems with CSS3 and he shared his thoughts. He starts by giving us some history of CSS and then gets into the meat: Why the Cascade is no longer enough HTML has been re-purposed to represent only the semantic properties of the page. Because CSS is only capable Read the rest…

Posted by Dion Almaer at 6:55 am
30 Comments

+++--
3.5 rating from 35 votes

More JavaScript Inheritance; Prototypes vs. Closures

Category: Examples, JavaScript

Steffen Rusitschka has a nice detailed post on inheritance with JavaScript, different ways you can go, and side effects of the decision. From, < View plain text > javascript var A = function(){}; // This is the constructor of "A" A.prototype.value = 1; A.prototype.test = function() { alert(this.value); } var a = new A(); // Read the rest…

Posted by Dion Almaer at 4:05 am
10 Comments

++---
2.4 rating from 27 votes

Thursday, December 11th, 2008

SmartMarkUp: Universal Markup Editor

Category: Component

Joseph Woods of PHPCow sent us a note about SmartMarkUP, a “universal markup editor”: SmartMarkUP is a lightweight and powerful JavaScript library that allows you to turn any textarea into a fancy markup editor. HTML, CSS, XML, Wiki syntax, BBCode or any other desired markup language can be implemented and/or adjusted to your preferences and Read the rest…

Posted by Ben Galbraith at 12:00 pm
7 Comments

+++--
3.1 rating from 37 votes

CSS Spriting without background-image

Category: CSS

Jennifer Semter has published an article on CSS spriting, and a cross-browser technique that uses divs, anchors, and clipping to get the same effect as background image clipping. The reason for the new technique is due to the issues with the current approach: You can’t attach alternate text to divs for accessibility purposes CSS Spriting Read the rest…

Posted by Dion Almaer at 11:55 am
22 Comments

+++--
3.5 rating from 44 votes

IE8 December Release and Accessibility

Category: Browsers, IE

The IE8 team let their partners know about a December “Partner Build” that contains the following changes since IE8b2: Accessibility-ARIA ARIA attribute names containing dashes, such as “aria-checked”, no longer have to be referenced by their camelCased equivalent (ariaChecked) in IE 7 Mode and Quirks Mode. As a consequence of this change, the camelCased syntax Read the rest…

Posted by Dion Almaer at 11:35 am
9 Comments

+++--
3.7 rating from 15 votes

nib2cib: Use Interface Builder to design your Ajax apps

Category: Apple

Tom Robinson has created an interesting new tool called nib2cib that could lead to you being able to use Interface Builder to create Ajax frontends. nib2cib is a command line tool designed for converting Cocoa’s nibs and xibs to Cappuccino’s cibs. It is still very much a work in progress, but is a good foundation Read the rest…

Posted by Dion Almaer at 12:38 am
5 Comments

++++-
4.1 rating from 24 votes

Wednesday, December 10th, 2008

Common Feature Tests

Category: Testing

Kangax has written about his new Common Feature Tests project: I have been working on a little personal project of mine for the past couple of months. It’s called CFT and stands for Common Feature Tests. There’s nothing really ground-breaking about it; CFT is simply a set of so-called feature tests for Javascript (or rather Read the rest…

Posted by Dion Almaer at 8:34 am
22 Comments

++++-
4.2 rating from 19 votes

Psych Desktop soon to become more Lucid

Category: Dojo

We heard from Will of the Psych Desktop project as he ran across our coverage of other Web desktop apps. He shared with us his project that is part of the Dojo Foundation which you can check out here. He had some good thoughts, so I thought I would pass them along below: Psych Desktop Read the rest…

Posted by Dion Almaer at 6:43 am
9 Comments

+++--
3.5 rating from 32 votes

Pegs: Automate display: fixed++

Category: CSS

Chris Wetherell (the chap who kicked off Google Reader in his apartment) has posted about Pegs a pattern for having one scrollbar but independent scrolling areas. It is more than display: fixed in that it can be smart. If you visit the demo you will see it in action. After the first time, click around Read the rest…

Posted by Dion Almaer at 4:16 am
10 Comments

+++--
3.5 rating from 31 votes

YUI3 PR2 now available – extendable with own widgets and plugins

Category: Framework, Yahoo!

Over at the YUI blog Satyen Desai just announced the release of YUI3 PR2. The main changes are that the widgets from YUI2 are now all getting ported over to the new, leaner YUI3 architecture and that the team made it much easier to write your own YUI widgets and plugins extending the existing ones. Read the rest…

Posted by Chris Heilmann at 3:53 am
1 Comment

++++-
4 rating from 23 votes