Jump to content

Recommended Posts

Posted

Hi,

recently I needed some off-canvas solution for off-canvas menu. I thought that there must be some simple jquery plugin for that but i couldn't find anything. Some of theme were a part of some bigger framework which i do not prefer, or they were too complicated.

So I decided to do it myself, thinking that it can't be that hard ... i just need to toggle some classes. Only experience i had with JS or jQuery is from Codecademy, which I did more than a year ago.

So after a few days I had something working and I decided to put it on github. Also, had to learn github since I haven't used it before.

But the problem is, although it works, performance is not that good, i tried it on smartphone and it lags. I don't know what to do, I think the problem is somewhere in my JS skills.

So my question is if you have any time for checking my code and tell me how bad it is. if it is just a mess or what changes needs to be made.

http://marek95.github.io/icy-off-canvas/

also, I would like to ask, what do you use when you need off-canvas? What are your usual requirements?

Thanks!

  • Like 5

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...