Monday, January 28th, 2008

Less maintenance code tutorials with Ajax Code Display

Category: Examples, HTML, JavaScript, jQuery, Unobtrusive JS

One of my main annoyances with writing code tutorials is that you need to maintain code in several locations: the code itself and the examples in the tutorial document. This is not really a problem when you can use a scripting language or print out the tutorials from a CMS, but when you just want Read the rest…

Posted by Chris Heilmann at 11:18 am

4.2 rating from 25 votes

Audience Measurement Demo

Category: GWT, Showcase

Laurent Nicolas has created an analytics solution, using GWT, that tracks fine grain access from users on a page. It tracks: The time spent on the site in various areas Visibility: what was visible when Content: Know if an ad was seen There is also a nifty widget that allows you to shrink and grow Read the rest…

Posted by Dion Almaer at 8:31 am

3.8 rating from 27 votes

Graceful Degradation of Firebug Console Object

Category: Debugging, JavaScript, Tip

Paul Irish saw the following graceful degradation of Firebug code in the Yahoo! media player: // code yanked from the Yahoo media player. Thanks, Yahoo. if (! (“console” in window) || !(“firebug” in console)) { var names = [“log”, “debug”, “info”, “warn”, “error”, “assert”, “dir”, “dirxml”, “group” , “groupEnd”, “time”, “timeEnd”, “count”, “trace”, “profile”, “profileEnd”]; Read the rest…

Posted by Dion Almaer at 6:37 am

4.7 rating from 339 votes

A Study of Ajax Performance Issues

Category: Ajax, Articles

Coach Wei, of Nexaweb and Apache, has published a study of Ajax performance issues in browsers, and they won’t surprise you: Obviously, we would like to see browser vendors take a serious look into the following issues and put them on their roadmap: In all major browsers, performance with Array and HTML DOM needs improvement Read the rest…

Posted by Dion Almaer at 5:18 am

3 rating from 42 votes

O’Reilly Maker

Category: Showcase

Kiichi Takeuchi has created a cheeky little site called O’Reilly Maker that let’s you create silly O’Reilly book covers in a live preview style using jQuery and Django. Surely, Tim will get these guys to rename (remember Web 2.0 conferences?). I am sure you can come up with funnier ones that I can, so add Read the rest…

Posted by Dion Almaer at 1:44 am

3.4 rating from 27 votes

Saturday, January 26th, 2008

Is using a JS packer a security threat?

According to research done by SecureWorks we are facing a Packer 2.0 threat where hackers could use JavaScript packing mechanisms to get access to servers: Computer hackers have taken advantage of the acceptance of these packers as suboptimal network optimization tactics and are using them as a way to evade and bypass security controls on Read the rest…

Posted by Chris Heilmann at 3:25 am

2.9 rating from 46 votes

Facebook releases JavaScript Client Library

Category: JavaScript, Library, Social Networks

Wei Zhu seems to be cooking with gas recently, and has released the JavaScript Client Library for Facebook API, which is a client side JavaScript library that mimics the other language client libraries (PHP, Python, Java, Ruby, etc): An application that uses this client library should be registered as an iframe type. This applies to Read the rest…

Posted by Dion Almaer at 1:01 am

3.5 rating from 23 votes

Friday, January 25th, 2008

Prototype security and performance improvements

Category: JavaScript, Library, Prototype

Sam and the team have released Prototype (and Prototype is a backwards-compatible, drop-in replacement recommended for all 1.6.0 users. We’ve fixed 28 bugs and made over a dozen improvements to the code base, including performance improvements for CSS selectors in Safari 3 and for the Element#up/#down/#next/#previous and Event#findElement methods in all browsers. Read the rest…

Posted by Dion Almaer at 6:57 pm

4.4 rating from 32 votes

Library Agnostic LightBox

Category: Ajax, JavaScript

There are a lot of lightboxes out there. Most use specific libraries such as jQuery, Prototype or MooTools but few, if any, are completely library agnostic. This poses a challenge when you want to incorporate, say, a really cool lightbox from MooTools into a Prototype application. Michael J. I. Jackson (no relation to the singer) Read the rest…

Posted by Rey Bango at 11:48 am

4.4 rating from 41 votes

Microsoft JavaScript Memory Leak Detector

Category: Microsoft, Utility

Paolo Severini, a Microsoft employee in Dublin, has build a JavaScript Memory Leak Detector that detects leaks with knowledge of the difference between IE 6 and IE 7. How does it work? Like any IE Band, the JavaScript Memory Leak Detector is a COM in-process DLL loaded in the Internet Explorer process. The fact of Read the rest…

Posted by Dion Almaer at 9:12 am

4.5 rating from 54 votes

Debug apps with Drosera for Windows

Category: Debugging, Utility, WebKit

We all talk about Firebug, which is a fantastic tool for debugging, but there are some others out there. WebKit comes with Drosera, which until now has been hard to get going on Windows (you could build from source). Now Drosera is in WebKit nightlies on Windows as Kevin McCullough of Apple told us: Our Read the rest…

Posted by Dion Almaer at 6:39 am

4 rating from 19 votes

Animated PNG in Firefox 3

Category: UI

Firefox 3 has support for Animated PNG: One of many new features added to Firefox 3 is the support of a new file format, the Animated PNG! Browsers have supported animated GIFs for more than a decade, but the GIF image format has a number of limitations and is overdue for replacement. The PNG image Read the rest…

Posted by Dion Almaer at 5:58 am

3.9 rating from 31 votes

YUI ready to celebrate 2nd Birthday

Category: Announcements, Fun, Yahoo!

The Yahoo User Interface library is now almost 2 years old and the team is getting ready to celebrate with a party on the Yahoo! campus in Sunnyvale, California. If you’re around on 26th of February, why not drop by for the celebrations, meeting the people behind and get some inside information about what the Read the rest…

Posted by Chris Heilmann at 5:46 am
Comment here

3.5 rating from 17 votes

Sexy JavaScript?

Category: JavaScript, Tip

How can you not post something called Sexy JavaScript? < View plain text > javascript // Sexy JavaScript // runs assertNotNull(iframeElement) in IE, otherwise assertNull(iframeElement) // taken from test code for   testShimExists: function() { with(this) {   this[Prototype.Browser.IE ? ‘assertNotNull’ : ‘assertNull’](iframeElement); }},

Posted by Dion Almaer at 1:27 am

2.1 rating from 61 votes

Thursday, January 24th, 2008

Ext 2.0.1 Released, Community Projects Continue to Grow

Category: Sencha

The Ext team released version 2.0.1 of Ext JS. This is a maintenance release that fixes several issues with the 2.0 release. Some notable issues that have been addressed include: Fixed various overflow/scroll issues related to form fields and grid Workaround included for the Firefox 2.0/Mac overflow:auto invisible scrollbar bug Fixed several issues related to Read the rest…

Posted by Rey Bango at 8:50 am

4.3 rating from 56 votes

Getting HTML 5 styles in IE 7+

Category: HTML, IE, JavaScript

Btw, if you want CSS rules to apply to unknown elements in IE, you just have to do document.createElement(elementName). This somehow lets the CSS engine know that elements with that name exist. This was uttered by Sjoerd Visscher innocently on a Sam Ruby thread, and it sent ripples of “huh? really? How come I never Read the rest…

Posted by Dion Almaer at 8:46 am

4 rating from 23 votes

All Posts of January 2008