Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
AlexisWalravens opened this Issue · 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

Thanks for pointing out this shortcoming.

Jason Simanek simanek was assigned
Jason Simanek
Owner
Jason Simanek simanek referenced this issue from a commit
Jason Simanek should fix issue #5 f1c2042
Jason Simanek simanek referenced this issue from a commit
Jason Simanek This should fix issue #5 aa56f72
Jason Simanek
Owner

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
Jason Simanek
Owner

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

@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
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.