nextwebgen.com

The Next Generation Web Now

Usable Directory Listings with Dojo

Filed under: Web 2.0 News — Dion Almaer at 8:26 am on Wednesday, April 30, 2008

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:

HTML:

  1.  
  2. <div style=“display:none” jsId=“linksStore”
  3.         dojoType=“dojo.data.ItemFileWriteStore”>
  4.         <script type=“dojo/method” event=“preamble” args=“params”>
  5.                 params.data = {
  6.                         identifier: "id",
  7.                         items: []
  8.                 }
  9.         </script>
  10. </div>
  11.  
Share and Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blogmarks
  • del.icio.us
  • De.lirio.us
  • digg
  • NewsVine
  • YahooMyWeb

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>