Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Resizing the Browser Window Should Not Change the On/Off State of Grid #5

Closed
AlexisWalravens opened this Issue May 22, 2012 · 9 comments

2 participants

Alexis Walravens Jason Simanek
Alexis Walravens

Hello,

Just to tell you that the grid shows up automatically when the window is resized.

That would be great if you can fixed that.

Thanks in advance.

Jason Simanek
Owner
simanek commented May 22, 2012

Thanks for pointing out this shortcoming.

Jason Simanek
Owner
simanek commented May 23, 2012
Jason Simanek simanek referenced this issue from a commit May 24, 2012
Jason Simanek should fix issue #5 f1c2042
Jason Simanek simanek referenced this issue from a commit May 24, 2012
Jason Simanek This should fix issue #5 aa56f72
Jason Simanek
Owner
simanek commented May 24, 2012

Had to dig myself out of a bad merge, so the 4 commits above are actually just 2 commits done twice. Please download the latest versions of

  • example_responsive.html
  • hugrid.js

I have added a new variable "gridstate" that records the current state of the grid (on or off). This makes it possible to preserve that state as the browser window is resized.

Jason Simanek
Owner
simanek commented May 24, 2012
Jason Simanek
Owner
simanek commented May 24, 2012

So the email reply I attempted to send ended up becoming a comment on this issue... Is it obvious that I'm new to Github? :D

Alexis Walravens

Sorry for the time I took to reply.

It looks like it's fixed. :D

So, I just have to replace hugrid.js on my site to fix it ?

Thanks a lot for fixing that so quickly !

Jason Simanek
Owner
simanek commented May 25, 2012

@Pix3lmate Yes, replace hugrid.js and review the example_responsive.html javascript in the head element. There's a new function referred to within the window.resize function.

Jason Simanek
Owner

This problem is successfully fixed!

Jason Simanek simanek closed this June 02, 2012
Alexis Walravens

Thanks again ! I'm gonna use it in my new portfolio i'm working on ! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.