Wednesday, September 26th, 2007

IEContentLoaded: Yet another DOMContentLoaded

Category: JavaScript, Library

Hedger Wang has a different solution for the DOMContentLoaded issue that Dean Edwards and YUI also solves. The solution created an element and tries to scroll in it. If an error is thrown, the DOM isn’t loaded yet, so we wait and try again later. < View plain text > javascript (function (){     Read the rest…

Posted by Dion Almaer at 6:32 am

3.5 rating from 24 votes

Tuesday, September 25th, 2007

Reiterate: Symbol#to_proc for JavaScript

Category: JavaScript, Library, Prototype

James Coglan has ported ideas from ideas from Ruby’s Symbol#to_proc and Methodphitamine to create Reiterate, a library for Prototype. The library means that instead of code like this: < View plain text > javascript var value = radioGroup.find(function(radio) {   return radio.checked; }).value;   var divs = someDivs.findAll(function(div) {   return div.hasClassName(‘myClass’) && div.visible(); }); Read the rest…

Posted by Dion Almaer at 8:47 am

3.2 rating from 29 votes

If I Told You You Had a Beautiful Figure…

Category: JavaScript, JSON, Library, Prototype

…. would you hold it against Aaron Gustafson? Aaron has written about “laying out images consistently within a design is difficult; especially when you hand the keys over to someone else to fill in the content.” The article discusses a microformat for figures so you define a figure using as little or as much as: Read the rest…

Posted by Dion Almaer at 7:00 am

2.9 rating from 39 votes

JS-CTYPES: Calling out to native code from XUL

Category: Firefox, JavaScript, Library

Mark Finkle has ported Python’s ctypes to JavaScript, and has created JS-CTYPES which allows you to declare and call exported methods from binary/shared libraries from Mozilla’s privileged JavaScript. The idea is to make dealing with XPCOM simpler. You end up with code like this: < View plain text > javascript const nsINativeType = Components.interfaces.nsINativeType;   Read the rest…

Posted by Dion Almaer at 6:43 am
1 Comment

3 rating from 21 votes

Monday, September 24th, 2007

jabsorb: A new JSON-RPC for Java

Category: Java, JavaScript, JSON, Library

Arthur Blake (with friends) has forked JSON-RPC-Java and has created jabsorb: The project goal for jabsorb is to maintain (and hopefully improve) the practicality and beautiful simplicity that makes JSON-RPC-Java a great library, while also adding new common sense features, more test cases, and more documentation to make the library better for everyone. jabsorb also Read the rest…

Posted by Dion Almaer at 6:21 am

3.2 rating from 15 votes

Thursday, September 20th, 2007

Google launches JavaScript API that allows you to write back

Category: Google, JavaScript, Library

I am pretty excited about this one. We have long been able to use a JavaScript API to do read only work on GData feeds from Google. That is all well and good, but sometimes you want to be able to access feeds that require authentication, or be able to write and update data in Read the rest…

Posted by Dion Almaer at 8:27 am

4 rating from 45 votes

RichFaces 3.1: JSF and Ajax

Category: Java, JavaScript, Library

Damian Harvey pinged us about the new release of RichFaces: RichFaces is a rich component library for JSF and an advanced framework for easily integrating AJAX capabilities into business application development. The RichFaces components come ready to use out-of-the-box, so developers can immediately save time in taking advantage of component features to create Web applications Read the rest…

Posted by Dion Almaer at 4:34 am

3.4 rating from 43 votes

Wednesday, September 19th, 2007

Accordion 2.0

Category: JavaScript, Library

Kevin Miller has updated his accordion with a new release. The new version also builds on and includes: Open/Close functionality added (Click on an active accordion) Nested Vertical Accordions Accordions will dynamically resize on content added REAL TIME! Usage < View plain text > javascript // Horizontal example var horizontalAccordion = new accordion(‘#top_container’, { Read the rest…

Posted by Dion Almaer at 6:39 am

3.6 rating from 51 votes

Tuesday, September 18th, 2007

Curl.js: Curl your images

Category: Canvas, CSS, JavaScript, Library

Christian Effenberger has a new effect for you to use. With Curl.js you can add a page curl effect (including backside mask) to images on your web pages. It uses unobtrusive javascript to keep your code clean, and it works in all the major browsers – Mozilla Firefox 1.5+, Opera 9+, IE6+ and Safari. On Read the rest…

Posted by Dion Almaer at 11:26 am

4.2 rating from 63 votes

Monday, September 17th, 2007

Sprinkle In Your JavaScript

Category: JavaScript, Library

Jon Davis had a message for us: I’ll make this brief. < View plain text > HTML <script src="sprinkle.js"></script>   <div src="info.html"></div> This is the latest in the client-side includes explosion that started with the colour purple. Take a peak at the sprinkle.js that makes it happen.

Posted by Dion Almaer at 12:11 am

2.3 rating from 47 votes

Friday, September 14th, 2007

JSONRequest Extension for Firefox

Category: JavaScript, JSON, Library

Collin Jackson has written a JSONRequest extension for Firefox that exposes the JSONRequest communication API to web pages you visit. It does this by adding a new window.JSONRequest object to your world. An example of using this beast is on the main page itself: < View plain text > javascript function request(method, data) {   Read the rest…

Posted by Dion Almaer at 9:49 am

3.4 rating from 24 votes

Thursday, September 13th, 2007

replaceHTML for when innerHTML dogs you down

Category: JavaScript, Library

Steven Levithan, of RegexPal, ran into some performance issues with innerHTML due to the fact that “every keydown event potentially triggers the destruction and creation of thousands of elements” so he started to look into it. He has a test page that demonstrates the issue. Here is some sample input: 1000 elements… innerHTML (destroy only): Read the rest…

Posted by Dion Almaer at 7:04 am

4.3 rating from 95 votes

Tuesday, September 11th, 2007

Qooxdoo Tech Talk Presentation

Category: JavaScript, Library, Qooxdoo

The first of our recorded sessions from The Ajax Experience (East coast coming!) is now live. You can view the presentation on qooxdoo, with Andreas Ecker, Project Lead of qooxdoo and Derrell Lipman, qooxdoo Team Member. qooxdoo is a comprehensive and innovative Open Source JavaScript framework. In this session, you’ll learn how to leverage qooxdoo Read the rest…

Posted by Dion Almaer at 6:48 am

3.8 rating from 38 votes

Monday, September 10th, 2007

SmoothGallery 2.0:

Category: JavaScript, Library

Jonathan Schemoul has released SmoothGallery 2.0, a javascript gallery and slideshow system allowing you to have simple and smooth (cross-fading…) image galleries, slideshows, showcases and more. Why would you use this over others out there? Jon thinks that: Unlike other systems out there, JonDesign’s SmoothGallery is designed from the ground up to be standard compliant: Read the rest…

Posted by Dion Almaer at 9:03 am

3.5 rating from 53 votes

Friday, September 7th, 2007

Protoscript: Prototype web apps with a JSON DSL

Category: JavaScript, Library

Bill Scott of Yahoo! showed us an early version of Protoscript at The Ajax Experience. He got some good feedback, and has just announced the first version. He will be speaking on this and more at the upcoming Ajax Experience show, so come to chat with him about it. What is Protoscript? Protoscript is a Read the rest…

Posted by Dion Almaer at 9:57 am

3.7 rating from 28 votes

Lazy Load Plugin for jQuery

Category: JavaScript, Library

Mika Tuupola took inspiration from the YUI ImageLoader and created a lazy load plugin for jQuery. You can see the difference in action by comparing the lazy page to the “normal” agressive image downloader page. To use the library, after script src’ing it you can simply: < View plain text > javascript $("img").lazyload(); Or you Read the rest…

Posted by Dion Almaer at 8:25 am

4.1 rating from 44 votes