Wednesday, April 30th, 2008

Usable Directory Listings with Dojo

Category: Dojo, Examples

Dojo Directory Shortcut

Sam Foster has written up an example of using Dojo to create directory listings with keyboard shortcuts.

You can now tab over to the box on the top right, and filter your selections:

This tutorial shows you how to upgrade those plain vanilla pages to make getting around a little faster and along the way introduce you to some of the most useful bits of Dojo, and practical techniques for working with them. We’ll touch on: dojo.query, dojo.data, the dojo parser and dijit (specifically the FilteringSelect widget.)

This is a great look at how things work in Dojo land, including the interesting code embed technique:

  1. <div style="display:none" jsId="linksStore"
  2.     dojoType="dojo.data.ItemFileWriteStore">
  3.     <script type="dojo/method" event="preamble" args="params">
  4.         params.data = {
  5.             identifier: "id",
  6.             items: []
  7.         }
  8.     </script>
  9. </div>

Posted by Dion Almaer at 8:26 am
Comment here

++++-
4.4 rating from 14 votes

Comments Here »

Comments feed TrackBack URI

Leave a comment

You must be logged in to post a comment.