Preload images with CSS, not JS

Tirdad:

There's really no reason you should need Javascript to preload images when it can be done with a little CSS.

Posted 06/18/2009 - 12:28

Drupal 6 jQuery in Under 5 Minutes

Irakli:

Drupal6 introduced new ways of working with jQuery, the primary Javascript library for Drupal. Unfortunately, the documentation for it is almost completely missing, which makes writing proper Javascript/jQuery in Drupal challenging for newcomers. This is a very quick intro for people new to Drupal or trying to migrate Javascript code from Drupal5 to Drupal6.

Posted 05/03/2009 - 16:00 // 2 comments

Select list for inline editing with Ruby on Rails

Jed:

It's pretty simple to create a select list for inline edits similar to the text field provided by the Rails plugin InPlaceMacrosHelper.in_place_editor().

Posted 03/19/2009 - 15:21

Node Edit Protection module released.

Frank:

Thanks to the nudging from irakli and drewish, I finally made the node protection javascript I blogged about here into a module called Node Edit Protection. As it says on the module page, it is a very simple JavaScript based protection that will alert a user if they are navigating away from a modified Node Edit form without saving. It uses a standard JavaScript confirm dialog that allows the user to either continue what they were doing, or cancel the move allowing them the opportunity to save. It marks the form as dirty by using the blur event of the node fields. Enjoy!

Posted 12/05/2008 - 15:58 // 1 comment

Driving Visualization with Semantic Web

Andrew :

Semantic Web, a specification born in the 1980s, has had a tumultuous history, to say the least. Lately, it has been undergoing a renaissance period, with great renewed interest and large internet voices beginning to herald the technology. The National Institute of Health, MIT, and Yahoo are all among a growing industry push for Semantic Web. Given the publicity surrounding Semantic Web, I thought I would take a moment to delve into why you, too, should be sitting with ears perked for news on Semantic Web.

Posted 10/21/2008 - 12:42

JQuery event trigger result in WebWork 2.2.x and Struts2, Part 2

Jed:

Making use of the code from Part One

Posted 10/20/2008 - 12:16 // 3 comments

JQuery event trigger result in WebWork 2.2.x and Struts2

Jed:

It is pretty easy construct a JQuery-based event trigger result analogous to the dojo stuff that comes with Struts2 /WebWork 2.2.x

Posted 10/06/2008 - 12:10