Friday, January 19th, 2007

Mootools Updated Documentation for 1.0

Category: Articles, JavaScript, Library

Aaron Newton has updated his excellent Mootorial documentation for Mootools. He has updated the docs for the near complete 1.0 release, and has migrates the docs to a wiki, so others can share his load. The examples have the cool feature of plugging into the Firebug console, and at various points you can execute this Read the rest…

Posted by Dion Almaer at 8:42 am

3.5 rating from 33 votes

JsHttpRequest: Low level Ajax library

Category: Library, PHP

Dmitry Koterov has written JsHttpRequest a light wrapper on top of XHR and friends that features: Cross-browser compatibility. Library works with IE5.0+, Mozilla 1.7+, FireFox 1.0+, Opera 7.3+, Safari (“+” means “in specified and newer versions”). By this token, code could work without ActiveX and XMLHttpRequest support (but if these capabilities are avalilable, they are Read the rest…

Posted by Dion Almaer at 8:30 am

3.4 rating from 53 votes

Wednesday, January 17th, 2007

Stock Quote Charting in Real Time with Comet

Category: Comet, Dojo, Examples, JavaScript, Library

SitePen and Lightstreamer have been working together to create a project that integrates Dojo’s Charting and Filtering Table widgets with Lightstreamer’s Comet server. The demo shows real-time stock lists that stream through and are charted below. The full source code for the demo is also provided. Some people think that Comet isn’t as easy as Read the rest…

Posted by Dion Almaer at 12:01 am

3.9 rating from 65 votes

Sunday, January 14th, 2007

JavaScript Scripting Essentials

Category: JavaScript, Library, Programming

Dan Webb asks what are your JavaScript essentials? Those bits and pieces you can’t live without that get copy/pasted from project to project. His pragmatic list includes the $ function, getElementsByClassName, Dean’s event handling, the JS 1.6 array methods, and the DOMContentLoaded event. His full script that he guarantees he _won’t_ support is here. Do Read the rest…

Posted by Rob Sanheim at 4:47 pm

3.9 rating from 33 votes

Monday, January 1st, 2007

GCalendar: Accessing Google Calendar from JavaScript

Category: Calendar, Component, Google, JavaScript, Library

Christian Decker wanted to access Google Calendar’s new JSON services in a simple way, so he has created, and shared GCalendar, an API for doing just that. < View plain text > javascript var cal = new Calendar(“”);   cal.onsuccess = function(c){ alert(c); } cal.loadFeed();

Posted by Dion Almaer at 8:00 am

3.5 rating from 62 votes

Purple Include Update: Easily include snippets

Category: JavaScript, Library

Brad Neuberg has announced a new Purple Include release, which gives you an even easily way to slurp in partial data from an external URL: It means that you can include and display fragments of one HTML page in another without copying and pasting any content. The new feature is the #quote(some … other) part Read the rest…

Posted by Dion Almaer at 7:23 am
Comment here

3 rating from 5 votes

jsFlickrSlideshow: Sliding through Flickr

Category: Canvas, JavaScript, Library, Showcase

The jsFlickrSlideshow is a JavaScript component that wraps the canvas tag to display images from Flickr. Check out the project home page View the Demo Download the code

Posted by Dion Almaer at 7:00 am

2.7 rating from 18 votes

Monday, December 25th, 2006

Porting Prototype Enumerable functions to Mootools Array objects

Category: JavaScript, Library, Prototype

Are you a Mootools user and you wish that you could use the Enumerable coolness from Prototype? Bas Wenneker has ported the functions over, and has written up the experience. I really like the Prototype Framework and the functionality that comes with it, but I like Mootools even more because it’s so damn small and Read the rest…

Posted by Dion Almaer at 8:20 am

3.8 rating from 33 votes

Thursday, December 21st, 2006

JavaScript Variable Dump in Coldfusion

Category: ColdFusion, JavaScript, Library

We don’t mention Coldfusion enough. Sorry guys. Rey Bango told us about a JavaScript version of cfdump: The Dump method is based on one of the tags available in Coldfusion ( <cfdump>) providing the ability to display simple and complex variables in a user friendly way that is perfect for debugging/inspecting data. There is no Read the rest…

Posted by Dion Almaer at 7:51 am

4 rating from 51 votes

Tuesday, December 19th, 2006

jQuery updates: 1.0.4, documentation, and people

Category: JavaScript, jQuery, Library

You have to hand it to the jQuery guys, they work really hard with their community. There have been a few posts recently that relate to the jQuery world: jQuery 1.0.4 Release A new 1.0.4 release focused on updates to the Ajax functionality: Extensions to $.ajax() Add extra headers to an Ajax request using beforeSend Read the rest…

Posted by Dion Almaer at 8:53 am

4.5 rating from 48 votes

Tuesday, December 12th, 2006

tooltip.js version 0.2

Category: JavaScript, Library

Jonathan Weiss has released version 0.2. of his tooltip.js library: The new version follows the mouse correctly on Firefox (thanks to Graham TerMarsch) and can apply a constant delta when displaying the tooltip. This can be useful if your CSS rules include absolute positioning that can result in a constant offset. Another nice addition (by Read the rest…

Posted by Dion Almaer at 8:51 am

3.6 rating from 31 votes

Monday, December 11th, 2006

Drawling lines in JavaScript

Category: Articles, JavaScript, Library

If you have ever wondered how to use the Bresenham algorithm to draw lines in browsers, it is your lucky day. The article teaches us the way, and you end up with an API such as: < View plain text > javascript var g = new Graphics(); g.drawLine(100,50,200,70); g.paint();

Posted by Dion Almaer at 7:43 am

3.3 rating from 43 votes

Thursday, December 7th, 2006

DWR 2.0 RC 1 Available

Category: Announcements, DWR, JavaScript, Library, Toolkit

Joe Walker has announced the first release candidate for DWR 2.0, the popular Java remoting toolkit. New in a nutshell JavaScript Proxy API DWR can dynamically generate JavaScript from a Java API. This is done at runtime rather than compile time, so we can use it to remote control many browsers. This makes it very Read the rest…

Posted by Dion Almaer at 7:09 am

4.1 rating from 16 votes

Friday, December 1st, 2006

Miro: light-weight JavaScript rendering engine

Category: JavaScript, Library

Edwin Khodabakchian and Olivier Devaux started off integrating Google Custom Search capabilities into, using the Google JavaScript tools. They wanted to go beyond this, and tell their story in Experience #1: Miro, Ajaxlets and the Google Custom Search API which goes through various iterations of the project. It includes a tutorial on Miro, A Read the rest…

Posted by Dion Almaer at 8:00 am

4 rating from 25 votes

Thursday, November 30th, 2006

DOMTool: Given HTML generate DOM methods

Category: JavaScript, Library, Utility

Stuart Colville has developed a tool for generating DOM methods from an HTML snippet called DOMTool: The idea is that you drop a snippet of HTML in the input and the tool puts it into the document with innerHTML and then loops through that structure to generate the DOM methods needed to append that piece Read the rest…

Posted by Dion Almaer at 8:44 am

3.8 rating from 26 votes

Wednesday, November 29th, 2006

Prototype Event Extension: Event.wheel(e)

Category: Library, Prototype

Frank Monnerjahn took the work from here and created a Prototype Event extension which makes it trivial to use the mouse wheel in Prototype with Event.observe(..). The demo shows this in action. The Code < View plain text > javascript /*  * Orginal:  * prototype extension by "Frank Monnerjahn" themonnie  */ Object.extend(Event, { Read the rest…

Posted by Dion Almaer at 12:50 am

4.2 rating from 39 votes