Project

hashgrid

0.0
No commit activity in last 3 years
No release in over 3 years
A simple Rails wrapper for hashgrid.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.2.1
>= 3.0.0
 Project Readme

Hashgrid

"A little tool that inserts a layout grid in web pages, allows you to hold it in place, and toggle between displaying it in the foreground or background." - Analog Coop

"The Grid. A digital frontier." - Kevin Flynn

Usage

  1. Include the gem in your Gemfile: gem 'hashgrid'
  2. Add <%= hashgrid %> where you want the hashgrid css and javascript files to appear (usually in the head)
  3. Press G on your website!

For more info on using hashgrid checkout the hashgrid website.

Configuration

For extra control over the grid, use the following options:

<%= hashgrid
  :column_width => '119px',
  :gutter_width => '19px',
  :first_line_width => '19px'
%>

TODO

  • Customisable colour
  • Optionally hide vertical or horizontal lines

Thanks

Thanks go to Analog for creating hashgrid and to Ennova for supporting the development.

Licence

Copyright (c) 2011 Lucas Willett and Odin Dutton

Released under a Creative Commons Attribution-Share Alike License.