JavaScript


Thursday, January 4th, 2007

Microsoft IE JavaScript Perf. Tips, Part Trois

Category: IE, JavaScript, Microsoft

In August and November, we highlighted parts one and two of the IE team’s JScript performance tips. Peter Gurevich is back for part three: Avoid Closures if Possible. What happens when [a closure registered as an event listener] never fires? We expect it to, but it might not. If it doesn’t fire, the closure [may Read the rest…

Posted by Ben Galbraith at 11:54 pm
11 Comments

++---
2.6 rating from 44 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(“7cghno42lleqpbihmoi5qiikm8%40group.calendar.google.com”);   cal.onsuccess = function(c){ alert(c); } cal.loadFeed();

Posted by Dion Almaer at 8:00 am
4 Comments

+++--
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
5 Comments

++---
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
2 Comments

+++--
3.8 rating from 33 votes

Friday, December 22nd, 2006

Backbutton Overloading

Category: JavaScript, Tip

Mario Heiderich wonders if being able to do this is a bad thing: < View plain text > javascript window.onunload = function(){ location.replace(document.location); }; With this one line of code (test page here) you can keep a user around against their will, other than killing that tab/window.

Posted by Dion Almaer at 6:05 am
17 Comments

+++--
3.5 rating from 35 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
15 Comments

++++-
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
11 Comments

++++-
4.5 rating from 48 votes

OpenKM: Ajax Document Management System

Category: GWT, Java, JavaScript, Showcase

Paco Avila and his team have announced OpenKM, a document management / knowledge management system that looks like a desktop application. OpenKM is based on: JBoss 4.0.3SP1 ( version basis for the development ) Java J2EE ( JDK 1.5 ) Jackrabbit GWT ( Google Web Toolkit – Ajax ) It is interesting to see a Read the rest…

Posted by Dion Almaer at 7:27 am
7 Comments

+++--
3.1 rating from 38 votes

Friday, December 15th, 2006

Phobos and Dojo

Category: Dojo, Java, JavaScript

Dojo is more than “an Ajax library”. It is a set of JavaScript libraries and packaging system. It just so happens to have a remote binding API in there too. Phobos has seen this and you can now use Dojo on the server side when using the Phobos framework. < View plain text > javascript Read the rest…

Posted by Dion Almaer at 2:49 pm
Comment here

+++--
3.2 rating from 28 votes

Tweebox 1.0: Browser based choose-your-own-adventures

Category: Framework, JavaScript, Showcase

Chris Klimas has released Tweebox 1.0, which is a browser-based application used to create interactive stories. Aside: You remember the good old Choose Your Own Adventures books. This is them for the web. I keep thinking that someone will do this for the big screen, and the audience votes at various times. Then people may Read the rest…

Posted by Dion Almaer at 9:23 am
6 Comments

+++--
3.9 rating from 19 votes

Wednesday, December 13th, 2006

MooTools for the Rest of Us

Category: JavaScript, Screencast, Tutorial

Beauty in Design just released a tutorial screencast that goes over how to use various Mootools effects. The tutorial is called MooTools for the Rest of Us and it walks through using Mootools on the Joomla platform, another Web OS. The work is split up into: Lesson One – Ideas and Resources Lesson Two – Read the rest…

Posted by Dion Almaer at 7:56 am
11 Comments

++++-
4.3 rating from 52 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
10 Comments

+++--
3.6 rating from 31 votes

ThinWire 1.2 RC 1 Released

Category: Announcements, JavaScript, Toolkit

ThinWire 1.2 RC 1 has been released. ThinWire is an LGPL open source, free for commercial use, development framework that allows you to easily build applications for the web that have responsive, expressive & interactive user interfaces without the complexity of the alternatives. While virtually any web application can be built with ThinWire, when it Read the rest…

Posted by Dion Almaer at 8:38 am
8 Comments

+++--
3.7 rating from 17 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
9 Comments

+++--
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
2 Comments

++++-
4.1 rating from 16 votes