Browse files

Link to the latest hashgrid.js file. Update some links.

  • Loading branch information...
1 parent d7bce3d commit a95a041f78018bc67b848dfa94f7d820b1c7f4f8 @dotjay committed Oct 6, 2012
Showing with 5 additions and 8 deletions.
  1. +2 −5 hashgrid.js
  2. +3 −3 index.htm
@@ -35,19 +35,16 @@
* // The basic #grid setup looks like this
* var grid = new hashgrid();
- * // Or you can set a custom id for your grid, e.g. #mygrid
- * var grid = new hashgrid("mygrid");
- *
* // But there are a whole bunch of additional options you can set
* var grid = new hashgrid({
- * id: 'mygrid', // id for the grid container
+ * id: 'mygrid', // set a custom id for the grid container
* modifierKey: 'alt', // optional 'ctrl', 'alt' or 'shift'
* showGridKey: 's', // key to show the grid
* holdGridKey: 'enter', // key to hold the grid in place
* foregroundKey: 'f', // key to toggle foreground/background
* jumpGridsKey: 'd', // key to cycle through the grid classes
* numberOfGrids: 2, // number of grid classes used
- * classPrefix: 'class', // prefix for the grid classes
+ * classPrefix: 'myclass', // prefix for the grid classes
* cookiePrefix: 'mygrid' // prefix for the cookie name
* });
@@ -249,7 +249,7 @@
<p class="summary"><em>Sat, 6 Oct 2012<span>:</span></em> This is a little tool we created for our <a href="">Analog&#160;holding&#160;page</a>. It inserts a <a href="">layout grid</a> in web pages, allows you to hold it in place, and toggle between displaying it in the foreground or background. To see it in action, hit <span class="key">G</span> on your keyboard.</p>
-<p id="download"><a href="">Download #grid</a> from <a href="">GitHub</a></p>
+<p id="download"><a href="">Download #grid</a> from <a href="">GitHub</a></p>
<h2 id="features">Features</h2>
@@ -262,7 +262,7 @@ <h2 id="features">Features</h2>
<h2 id="installation">Installation</h2>
-<li><h3>Copy the <a href="">hashgrid.js</a> script to your project</h3></li>
+<li><h3>Copy the <a href="">hashgrid.js</a> script to your project</h3></li>
<li><h3>Add the script to your page(s) just inside the <code>&#60;/body&#62;</code> tag</h3>
<textarea id="javascript-code" cols="68" rows="8" readonly="readonly">
@@ -388,7 +388,7 @@ <h2 id="release-notes">Release Notes</h2>
<li>Grid overlay can now be used inside a wrapping container with <code>position: relative;</code> rather than working inside the whole viewport. Thanks to <a href="">Tom Arnold</a>.</li>
<li>Holding down the #grid keys will no longer make browsers cry. Thanks to <a href="">Callum Macrae</a>.</li>
<li>Fixes to cookie handling. Thanks to <a href="">James Aitken</a>.</li>
<dt>v7&#8201;&#8212;&#8201;11 Jun 2011</dt>

0 comments on commit a95a041

Please sign in to comment.