JavaScript


Wednesday, February 7th, 2007

Flash Embedding Cage Match and SWFFix

Category: Flash, JavaScript

How should we be putting Flash objects into our pages and Ajax applications? embed/object? SWFObject to get by the IE “feature” that makes you click on the area to activate it? Bobby van der Sluis has written up the history of this lovely world of hacks in Flash Embedding Cage Match. The good news it Read the rest…

Posted by Dion Almaer at 6:26 am
9 Comments

++---
2.4 rating from 39 votes

Live DOM Viewer

Category: JavaScript, Screencast, Utility

Dean Edwards pointed us to a simple little utility the Live DOM Viewer. It let’s you throw out some HTML and see a DOM, and a rendered view as you type. To see this simple guy in action:

Posted by Dion Almaer at 12:59 am
9 Comments

+++--
3.4 rating from 25 votes

Tuesday, February 6th, 2007

Audible Ajax Episode 20: Project Tamarin

Category: Firefox, Flash, Interview, JavaScript, Podcasts

We at Ajaxian have long been hoping for a JIT compiler inside of the browsers’ JavaScript interpreter — so we were pretty stoked when Adobe donated their excellent JIT-compiling JavaScript virtual machine to Mozilla back in Nov. ’06. The new open-source codebase, maintained by the Mozilla Foundation, is known as Project Tamarin. In this episode Read the rest…

Posted by Ben Galbraith at 1:58 pm
14 Comments

++++-
4 rating from 73 votes

GWT 1.3 Released

Category: Framework, GWT, JavaScript

The first open source release of the Google Web Toolkit has been announced. Version 1.3 is the first to be released with the new open process: Our open source charter, “Making GWT Better,” explained that GWT development would take place in the open, and that we’d even publish our engineering meeting notes. We’re happy to Read the rest…

Posted by Dion Almaer at 12:01 am
3 Comments

+++--
3.3 rating from 30 votes

Monday, February 5th, 2007

The window.onload problem revisited

Category: JavaScript

Peter Michaux has written a detailed post on the window.onload problem: The goal of unobtrusive JavaScript programming it to separate the JavaScript behavior from from the HTML content and is analogous to the goal of unobtrusive CSS design to separate the CSS presentation from the HTML content. Separation of presentation and content has been possible Read the rest…

Posted by Dion Almaer at 8:04 am
7 Comments

+++--
3.1 rating from 48 votes

DJAX: Language on top of JavaScript

Category: JavaScript, Library

Hamish Friedlander has created djax, a language translator that takes code written in a javascript superset, and turns it into regular-ol’ javascript. What does the language try to give you? Continuations (ish). Suspend a javascript function anywhere, and start it again later easily. Code synchronous ajax without locking the browser. sleep(). Threads. Execute long-running jobs Read the rest…

Posted by Dion Almaer at 7:13 am
10 Comments

++---
2.6 rating from 22 votes

dojo.query: A CSS Query Engine

Category: CSS, JavaScript, Performance

Through the push of jQuery, MochiKit, Prototype, and behavior.js and most recently DomQuery, we are seeing boundaries tested and built upon. Alex Russell (Dojo and SitePen) has written a fascinating piece on the performance of CSS query engines as he introduces us all to dojo.query the latest in the pack, and one that looks to Read the rest…

Posted by Dion Almaer at 12:08 am
10 Comments

+++--
3.5 rating from 36 votes

Friday, February 2nd, 2007

Qooxdoo 0.6.5 Release: Now with RAP

Category: Announcements, JavaScript, Library

Qooxdoo 0.6.5 has been released with improvements in the core framework, theming, and server-side (now with Perl). Check out the showcase for examples, and the release notes for detailed changes. This released adds an Eclipse license that enables it to be the core of the new Eclipse Rich Ajax Platform (RAP) Project. What is RAP? Read the rest…

Posted by Dion Almaer at 8:21 am
3 Comments

+++--
3.5 rating from 35 votes

Thursday, February 1st, 2007

jMaki Revolver

Category: Component, Examples, Java, JavaScript, jMaki

Greg Murray of Sun has put together a sample jMaki widget revolver that you use like this: < View plain text > javascript window.onload = function() {     var wargs = {uuid : ‘jmaki-revolver’};     wargs.value = [       {"title" : "jMaki Craigs List Sample", imgSrc : "../images/cl-mashup.jpg", href :"http://ajax.dev.java.net/samples/samples.html#cl-mashup"},   Read the rest…

Posted by Dion Almaer at 7:55 am
9 Comments

+++--
3.3 rating from 52 votes

Prototype Reference Widget

Category: JavaScript, Library, Prototype

Wolfgang Bartelme (designer of this site) took the work by Justin Palmer and friends and created a Prototype Reference widget.

Posted by Dion Almaer at 12:04 am
4 Comments

++++-
4 rating from 27 votes

Wednesday, January 31st, 2007

Eval’ing with IE’s window.execScript

Category: JavaScript, Programming, Remoting

Plaxo’s Joseph Smarr has been playing with on-demand javascript, i.e. downloading extra JS code after the page has already loaded. When you grab the code via a remote call and eval() it, it doesn’t get into global scope. So here’s how he dealt with it. Here’s a simplified version of the situation we faced: function Read the rest…

Posted by Michael Mahemoff at 3:40 pm
29 Comments

+++--
3.9 rating from 71 votes

Vitamins for Prototype

Category: Component, JavaScript, Library

The new Devjax library is a collection of plugins based on prototype library to add more functionality for scriptaculous, RICO and extends the DOM library of prototype. An example of the work is a WYSIWYG component: < View plain text > javascript editor = new Devjax.Editor(‘editor-example’,     { width: ‘100%’,height: ‘200px’,     ImagesFolder: Read the rest…

Posted by Dion Almaer at 5:07 am
30 Comments

+++--
3.3 rating from 55 votes

Mootools 1.0 Announced

Category: Announcements, JavaScript, Library, Toolkit

Mootools 1.0 was officially announced to the world. Big Changes All the MooTools Classes use now Events. No, not element events. Class Events. Right, you can add as many onCompletes as you want, onChange(s), onStart(s).. Well, you get the idea. Options starting with “on” become events, so need to change your code on this one. Read the rest…

Posted by Dion Almaer at 12:30 am
19 Comments

++++-
4.6 rating from 69 votes

Tuesday, January 30th, 2007

The Internet’s first live shopping game show.

Category: Fun, Games, JavaScript

Jellyfish (previously mentioned here) took their “smack shopping” promo to the next level last week with the introduction of “The Smackwheel”. Billed as “The Internet’s First Live Shopping Game Show”, the user picking the closest percentage-off to the actual best deal gets a chance to step up and spin. The js wheel is “broadcast live” Read the rest…

Posted by Jim Halberg at 3:10 pm
Comment here

+++--
3.8 rating from 16 votes

Monday, January 29th, 2007

SoundManager 2: A Sound API for JavaScript

Category: JavaScript, Library, Sound

Scott Schiller has come up with something very useful: SoundManager 2 a sound API which lets web developers easily load, play and control sounds (via Flash 8) using Javascript. Scott talks about his back story to how this API came about, for the jsAMP program. There is a full project page with API documentation, some Read the rest…

Posted by Dion Almaer at 9:20 am
20 Comments

++++-
4.3 rating from 72 votes

OAT: OpenAjax Alliance Compliant Toolkit

Category: JavaScript, Library, Toolkit

Ondrej Zara and his team at Openlink Software have created a Openlink Software JS Toolkit, known as OAT. It is a full-blown JS framework, suitable for developing rich applications with special focus to data access. OAT works standalone, offers vast number of widgets and has some rarely seen features, such as on-demand library loading (which Read the rest…

Posted by Dion Almaer at 8:00 am
9 Comments

++++-
4.4 rating from 25 votes