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.
Tirdad:
There's really no reason you should need Javascript to preload images when it can be done with a little CSS.
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.
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().
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!
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.
Jed:
Making use of the code from Part One
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