GithubHelp home page GithubHelp logo

dotjay / hashgrid Goto Github PK

View Code? Open in Web Editor NEW
445.0 11.0 46.0 171 KB

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.

Home Page: https://dotjay.github.io/hashgrid/

License: Other

JavaScript 50.88% HTML 25.53% Pug 16.71% CSS 6.88%

hashgrid's People

Contributors

callumacrae avatar dotjay avatar iamwebrocker avatar lencioni avatar leonid-shevtsov avatar loonypandora avatar pdokas avatar scoates avatar widatama avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hashgrid's Issues

CSS Centered

i have found margin-left: -490px; is not true center in my grid. Using Less Framework 4. So, i change the css

grid{

width: 992px;
position: absolute;
top: 0;
left: 50%;
margin-left: -496px; /* original -490 */
}

grid div.vert{

width: 68px;
border: none;
margin-right: 24px;
background: rgba(136,170,221,.25);
}

Try compare with Less Framework grid from http://javascriptgrid.org/ and http://arnaumarch.com/en/less-grid.html.

Thanks and sorry for my english.

Skeleton grid - a bit different...

Hi guys,

I'm using the Skeleton grid, which has a bit different layout than many others... is there any way to replicate this grid? The only thing I'm missing is the 10px first and last gutter - don't need the lines in the middle of each gutter... See image:
skeltongrid

Keydown doesnt show grid

The grid is there, I can dev tool it and change it's property to make it appear.
It is one particular wp site.

I tried disabling all the other javascripts I could access, disabled all plugins, and moved the script tag to various locations but nothing will make it work.

I used an older version of the script that works on another wp site.

Unfortunately I can't share the site at the moment.
Do you have any tips how I may debug this?

> 2 Grids not working

I am attempting to use 3 grids and the options.jumpGridsKey function seems to loop twice every time I use the jump key. This causes the function to loop over my 3rd grid. Could it be a keyup problem?

NPM Package

Hi!

Do you mind of publish hashgrid to NPM?

Thank you!

[enhancement] Add missing bower.json.

Hey, maintainer(s) of dotjay/hashgrid!

We at VersionEye are working hard to keep up the quality of the bower's registry.

We just finished our initial analysis of the quality of the Bower.io registry:

7530 - registered packages, 224 of them doesnt exists anymore;

We analysed 7306 existing packages and 1070 of them don't have bower.json on the master branch ( that's where a Bower client pulls a data ).

Sadly, your library dotjay/hashgrid is one of them.

Can you spare 15 minutes to help us to make Bower better?

Just add a new file bower.json and change attributes.

{
  "name": "dotjay/hashgrid",
  "version": "1.0.0",
  "main": "path/to/main.css",
  "description": "please add it",
  "license": "Eclipse",
  "ignore": [
    ".jshintrc",
    "**/*.txt"
  ],
  "dependencies": {
    "<dependency_name>": "<semantic_version>",
    "<dependency_name>": "<Local_folder>",
    "<dependency_name>": "<package>"
  },
  "devDependencies": {
    "<test-framework-name>": "<version>"
  }
}

Read more about bower.json on the official spefication and nodejs semver library has great examples of proper versioning.

NB! Please validate your bower.json with jsonlint before commiting your updates.

Thank you!

Timo,
twitter: @versioneye
email: [email protected]
VersionEye - no more legacy software!

IE7 bug: only showing 2 vertical grid lines

IE6 has the same bug, but I dont expect you to fix it, most people don't test there anymore.

Maybe add a small list of browsers supported to hashgrid.com to force yourself to test your commits in those browsers?

Missing my last column & gutter...

Hi guys,
I'm trying to use the wonderful hashgrid.js on my new school project. But strangely, the last column, and the last gutter don't appear...

My project is about 1280px
and I have 12 column of 81px
with 11 gutters of 27px. (size of my line-height)

It starts, and it ends by a column, not by a gutter.

Can you explain me why it doesn't work ?

Give you the link to my work :
https://dl.dropboxusercontent.com/u/54989832/github/site/index.html

And a screenshot of my grid over my work :
https://dl.dropboxusercontent.com/u/54989832/github/site/screenshotgrid.png

Probably you'll need to see my hashgrid.css so it is :
https://dl.dropboxusercontent.com/u/54989832/github/site/css/hashgrid.css

Thanks a lot for your help.

Wrong docoument height

I was getting the viewport height instead the html document height.

I was able to get the right html document height by calling hashgrid on window load

For example:

$(window).load(function () {
var grid = new hashgrid({
numberOfGrids: 2
});
});

UMD module

We use Hashgrid in several context, with browserify (commonJS), requireJS (AMD).
It's why we should be able to load it as a universal module.

Licensing?

There is no mention of licensing in the following projects. CC? MIT? GPL? LGPL?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.