JavaScript


Tuesday, April 25th, 2006

Javascript Speed Test: Test your browsers

Category: JavaScript

Jason Orendorff has created a JavaScript speed test that you can run inline in your browsers. No one is sure of the usefulness, but it can provide hours of fun as you run the tests on each of your browsers / systems :)

Posted by Dion Almaer at 9:34 am
4 Comments

+++--
3.2 rating from 39 votes

Friday, April 21st, 2006

Getting Google Calendar Data on Your Site

Category: Google, JavaScript

With the release of yet another “GApp” from Google, the Google Calendar, everyone wants to know the ins and outs of every feature on it, as well as how it might be molded to fit their needs. The Calendar application is handly to use, but it’s only available if you go and log into their Read the rest…

Posted by Chris Cornutt at 1:12 pm
11 Comments

+++--
3.9 rating from 58 votes

JavaScript Animations: Virtual Raster Scrolling and Rotating Cube Effect

Category: JavaScript, Library, UI

Yusuke Kawasaki has put together some interesting JavaScript animation classes. Animation.Cube – Rotating Cube Animation Effect I love seeingthe rotating cube effect when I switch desktops in my desktop manager. Now you can simply rotate images via Animation.Cube. Animation.Raster – Virtual Raster Scrolling Class Want to see a lot of td’s wiggle? Animate.Raster provides a Read the rest…

Posted by Dion Almaer at 10:38 am
17 Comments

+++--
3.7 rating from 49 votes

Wednesday, April 19th, 2006

Script.aculo.us: Create your own Ajax effects

Category: Articles, JavaScript, Prototype

Thomas Fuchs has written an article on creating your own Ajax effects. The article goes beyond the builtin effects that Script.aculo.us has, and shows you how to create your own. The example used is a cash register effect that counts between amounts as the register changes. The end result is a nice easy effect that Read the rest…

Posted by Dion Almaer at 8:47 am
15 Comments

+++--
3.6 rating from 99 votes

Tuesday, April 18th, 2006

Flexstore: Flash, Ajax, Rails

Category: Flash, JavaScript, Ruby, Showcase

Christophe Coenraets has written a tutorial Flexstore on Rails. The tutorial takes Flexstore, a traditional shopping cart, and gets it going with Rails on the backend. The example is interesting in how it shows Flash and Ajax working together. The main catalog is a Flash application on the right hand side, and on the left Read the rest…

Posted by Dion Almaer at 1:58 pm
7 Comments

+++--
3.6 rating from 46 votes

ICEfaces Community Edition

Category: Java, JavaScript, Library

ICEfaces Community Edition, a version of the ICEfaces framework for J2EE developers to check out, has been released. Demos Chcek out online demos such as a component showcase, webmail, auction monitor, address form, and timezone. The components of ICEfaces are: Framework: The ICEfaces Framework conforms to the JSF architecture and provides a portable mechanism for Read the rest…

Posted by Dion Almaer at 1:36 pm
2 Comments

+++--
3.7 rating from 66 votes

DOM Builder: A nicer DOM

Category: JavaScript, Library

We all seem to hate the DOM API. It is painful to work with for sure. Some have thrown away DOM and instead relied on innertHTML and friends to get the job down. Others feel that “It’s always seemed a bit wrong and dirty to use innerHTML to manipulate or add content to a page. Read the rest…

Posted by Dion Almaer at 10:41 am
10 Comments

++++-
4.2 rating from 39 votes

Wednesday, April 12th, 2006

DWR 2.0: Reverse Ajax

Category: Java, JavaScript, Library

Joe Walker of DWR fame writes in: We’ve just released DWR version 2.0 milestone 1 – This is probably the biggest release we’ve ever done in terms of new features. The big new feature is Reverse Ajax: DWR 1.x allowed you to asynchronously call Java code from Javascript. DWR 2.0 builds on this to allow Read the rest…

Posted by Dion Almaer at 9:10 am
15 Comments

+++--
3.9 rating from 43 votes

Tuesday, April 11th, 2006

DOMInclude: Replacing pop-ups

Category: JavaScript, Library

DOMInclude is a library that allows you to add inline dynamic includes of content rather than using window popups. Pop-up windows are a pain for both the developer and the users. Often enough a page needs to link to a terms and conditions document and as the client does not want the user to leave Read the rest…

Posted by Dion Almaer at 7:49 am
18 Comments

++++-
4.1 rating from 47 votes

Monday, April 10th, 2006

XMLHttpRequest W3C Working Draft

Category: Ajax, JavaScript

The W3C announced that they would standardize the de-facto XHR object and the first draft has been released. What does this mean for us? Well, it gives you some documentation, has a few hints from editors on curent implementation notes, and let’s us know that new XMLHttpRequest() will be the way to do things in Read the rest…

Posted by Dion Almaer at 6:26 am
4 Comments

++++-
4.1 rating from 57 votes

Faster DOM Queries

Category: Editorial, JavaScript

Dean Edwards and Alex Russell have been noodling on how to speed up DOM work. Alex started this off with a “janky hack” that uses our favourite document.getElementById in a naughty way, by grouping elements by one id. His hack includes a cached element version. Dean grimaced at the non-standardiness of it, but knows that Read the rest…

Posted by Dion Almaer at 5:53 am
3 Comments

+++--
3.6 rating from 34 votes

Wednesday, April 5th, 2006

Script.aculo.us 1.6 Released

Category: JavaScript, Library, Prototype

Script.aculo.us has a new 1.6 release that mirrows the Rails 1.1 release, just as Thomas Fuchs said it would. script.aculo.us 1.6 marks the switch over to Prototype 1.5 (1.4 will no longer be supported), which has really great new features and has undergone some refactoring to take advantage of the Prototype 1.5 niceties. Other new Read the rest…

Posted by Dion Almaer at 11:31 am
5 Comments

+++--
3.6 rating from 31 votes

Monday, April 3rd, 2006

Reusing XMLHttpRequest Without abort()

Category: IE, JavaScript, Programming, XmlHttpRequest

Last week, we mentioned Eric Pascarello’s “XMLHttpRequest Reuse Dilemma” article. Eric explained that to reuse an XMLHttpRequest object in IE, you must call abort(). In a follow-up, Pavan Keely says you actually don’t need the abort() call. Instead, just make sure the open() call happens before onreadystatechange(), rather than afterwards (as in Eric’s example). The Read the rest…

Posted by Michael Mahemoff at 3:03 pm
3 Comments

+++--
3.7 rating from 50 votes

Friday, March 31st, 2006

Screencast on Diagnosing Memory Leaks in IE

Category: IE, JavaScript, Screencast, Toolkit

Patrick Fitzgerald posted a nice screencast explaining how he diagnosed and fixed an IE memory leak in his tabifier library. He walks through using the free tool Process Explorer to watch IE’s memory grow with each page refresh. He writes: This screencast discusses how I diagnosed and fixed a memory leak in a JavaScript library. Read the rest…

Posted by Rob Sanheim at 11:01 am
8 Comments

+++--
3.8 rating from 36 votes

Thursday, March 30th, 2006

Building a Web-based Ajax POP3 Client

Category: JavaScript, Programming

Once again, DevArticles is back with a new project that I’ve seen many people ask for as a way to keep on top of their email no matter where they are – an Ajax-enabled POP3 client. This article is the first of a three part series to create a simple app that can grab the Read the rest…

Posted by Chris Cornutt at 7:33 am
5 Comments

+++--
3.3 rating from 55 votes

Wednesday, March 29th, 2006

Dollar E: A document.createElement Wrapper

Category: JavaScript, Prototype

Prototype is quickly becoming one of the most widely used Javascript libraries on the web, and with good reason. It sets up a simple interface making common Javascript tasks as simple as a single line of code. Of course, there are some things that Prototype still hasn’t gotten around to yet – such as this Read the rest…

Posted by Chris Cornutt at 7:38 pm
38 Comments

+++--
3.9 rating from 92 votes