JavaScript


Monday, December 3rd, 2007

Evolutionary Programming and Gradual Typing in ECMAScript 4

Category: JavaScript

Lars Hansen of Adobe has written Evolutionary Programming and Gradual Typing in ECMAScript 4 which is a tutorial packed with real code for you to diff JS1 and JS2 as it currently stands: ECMAScript 4 (ES4) provides a range of facilities for evolutionary programming – evolving a program in stages from a simple script to Read the rest…

Posted by Dion Almaer at 7:47 am
Comment here

++++-
4.1 rating from 19 votes

Friday, November 30th, 2007

Thomas Fuchs uses Script.aculo.us 2.0 on his own site

Category: JavaScript, Library, Scriptaculous, Showcase

Thomas Fuchs is back in the consulting game and his new site gives us another glimpse of Script.aculo.us 2.0 abilities. The photo zooming? < View plain text > javascript Effect.PhotoZoom = Class.create(Effect.Element, {   setup: function() {     var currentHeight = $(‘text’).getHeight();         var newHTML = this.element.next(‘div.text’).innerHTML;         Read the rest…

Posted by Dion Almaer at 10:13 am
14 Comments

+++--
3.5 rating from 48 votes

HeatColor – Firing up elements based on values

Category: JavaScript, jQuery

Using color has been a tried and true method of representing importance or value in a UI. Whether it’s negative balance or indicating a successful process, color helps to convey your message much more effectively then plain old text. Josh Nathanson came up with an interesting jQuery plugin called HeatColor which assigns colors to elements Read the rest…

Posted by Rey Bango at 6:45 am
1 Comment

+++--
3.5 rating from 13 votes

Bug: Object Killing in IE7

Category: JavaScript

Jon Sykes thinks he has found a bizarre bug in IE7. Since Microsoft has 34 QA people per developer, surely not! ;) He told us: There is a bug in IE7 where by a line of code inside a conditional statement that NEVER runs, can cause an object that is set with a fairly standard Read the rest…

Posted by Dion Almaer at 2:16 am
20 Comments

++++-
4 rating from 28 votes

Thursday, November 29th, 2007

Rolling your own GWT Hyperlink class

Category: GWT, JavaScript

From reading his post, Ivan Moscoso definitely has too much time on his hands as he decided to see how easy it was to set the status bar text when hovering over a link in GWT: It’s Wednesday, and you have had it up to here with the weather. There’s nothing on TV and you’ve Read the rest…

Posted by Rey Bango at 9:33 am
Comment here

+++--
3.3 rating from 29 votes

New CSS JavaScript Library

Category: CSS, JavaScript, Library, MooTools

Marat Denenberg has continued the trend of CSS frameworks by taking Mootools and creating CSS.js. The library sits on top of CSS itself and gives you: Programmatic CSS Browser Compatibility Custom CSS Properties With programmatic css, you can use loops to generate CSS that might have taken pages to type out. You can have CSS Read the rest…

Posted by Dion Almaer at 7:09 am
12 Comments

+++--
3.3 rating from 35 votes

Ajaxian Featured Tutorial: JavaScript Basics

Category: JavaScript, Tutorial

I have to say that at one point, I truly thought that JavaScript was using some type of “black magic”. Things such as closures really threw me for a loop and I was fortunate to have some good folks to walk me through some of the tougher concepts. Not everyone is as lucky and thankfully, Read the rest…

Posted by Rey Bango at 6:30 am
2 Comments

++---
2.6 rating from 41 votes

Wednesday, November 28th, 2007

MooTools Calendar Component

Category: Calendar, Component, JavaScript, MooTools

We just featured SCal, and now we have a MooTools Calendar component created by Aeron Glemann. I have tried to make Calendar as semantic as possible–with proper usage of CAPTION, THEAD, TBODY, TH and TD elements–and lots of CSS styling hooks. View the Calendar stylesheet for examples of the CSS; see the Styling Your Calendar Read the rest…

Posted by Dion Almaer at 7:58 am
16 Comments

++++-
4.1 rating from 98 votes

CrossFrame: a Safe Communication Mechanism Across Documents and Across Domains

Category: JavaScript, Security, Yahoo!

Julien Lecomte has written about CrossSafe, a “safe communication mechanism across documents and across domains”. We already have some solutions such as the URL fragment identifier or the Flash LocalConnection object, so why did Julien see the need for this? CrossFrame is a variant of the URL fragment identifier mechanism. In the original technique, the Read the rest…

Posted by Dion Almaer at 12:45 am
5 Comments

++++-
4.2 rating from 32 votes

Tuesday, November 27th, 2007

Mad Cool Date Library

Category: Ajax, Announcements, JavaScript

Ok, I’ve seen some cool libraries in my time but I’ve just found one that is ssssooo cool that I didn’t want to wait to post about it until tomorrow (sorry Dion!). So I get this email from a bud asking me to check out this date handling library and I’m figuring “great, Yet Another Read the rest…

Posted by Rey Bango at 6:18 pm
57 Comments

++++-
4.1 rating from 84 votes

Facebook Beacon JavaScript

Category: JavaScript, Social Networks

The Web has been all a flutter with the Facebook Beacon launch, and how all of a sudden people are worried about privacy as they see third party sites throwing content into their news feeds: I put a lot of trust in sites like Facebook to do the right thing when it comes to privacy. Read the rest…

Posted by Dion Almaer at 3:21 am
14 Comments

+++--
3.6 rating from 25 votes

Monday, November 26th, 2007

Kevin Hoyt on the AIR Experience

Category: Adobe, Flash, JavaScript, Presentation

Kevin Hoyt of Adobe gives a personal tour of how you can take your web development skills to the desktop using the Adobe Integrated Runtime (AIR) in his presentation from The Ajax Experience, which was recorded, and shown here. Kevin is a top notch guy, and really gets Ajax. One good example is his latest Read the rest…

Posted by Dion Almaer at 9:00 am
6 Comments

+++--
3.2 rating from 33 votes

Friday, November 23rd, 2007

Avoid unnecessary Ajax traffic with session state

Category: Ajax, JavaScript, Tip

David Mertz has written an article on avoiding unnecessary Ajax traffic with session state, which discusses RESTful techniques to minimize traffic, and how you can tweak your XHR code to be watchful. Basically, use 304 please! This tip presented some server code written in Python, but almost the same design would apply for nearly any Read the rest…

Posted by Dion Almaer at 2:38 am
3 Comments

+++--
3.3 rating from 32 votes

Thursday, November 22nd, 2007

Chronoscope: GWT based charting library

Category: GWT, JavaScript, Library, UI

Ray Cromwell and the Timepedia team have released Chronoscope, a charting and visualization platform for Google Web Toolkit, as open source. Chronoscope provides a rich Java API for you to play with: Canvas abstraction for drawing vector graphs Graph Style Sheets abstraction for configuring the look-and-feel of charts Scalable multiresolution rendering supporting up to tens Read the rest…

Posted by Dion Almaer at 8:00 am
12 Comments

+++--
3 rating from 41 votes

Wednesday, November 21st, 2007

SWFAddress 2.0: Deep linking for Flash and Ajax

Category: Ajax, Flash, JavaScript, Library

SWFAddress 2.0 has been released: SWFAddress is a small, but powerful library that provides deep linking for Flash and Ajax. It’s a developer tool, allowing creation of unique virtual URLs that can point to a website section or an application state. SWFAddress enables a number of important capabilities which are missing in today’s rich web Read the rest…

Posted by Dion Almaer at 7:14 am
13 Comments

+++--
3.4 rating from 44 votes

Tuesday, November 20th, 2007

How To Build A Read/Write JavaScript API

Category: Articles, JavaScript

Rakesh Pai has written up a piece on

Posted by Dion Almaer at 8:46 am
12 Comments

++---
2.3 rating from 66 votes