Javascript

Simple Maze Example

  • Posted on: 16 October 2014
  • By: Nate Jones

Threw together a simple javascript maze game tonight to practice using the html5 canvas tag. You can check it out embedded below or at JSFiddle. The object of the game is to navigate the blue dot through the maze to the yellow X. Nothing happens when you win other than your deep sense of accomplishment :-).

Creating A Sortable Form Element

  • Posted on: 26 August 2014
  • By: Nate Jones

Many times it is useful to have a set of options in a form that can be sorted by the user in a drag and drop fashion. Whenever possible I like to use standard form elements to report data to the server. So one way I have found to provide a user with a sortable form element is by using javascript to update text form elements with the relative weights of the list.