Marek Posted September 1, 2015 Share Posted September 1, 2015 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! 5 Link to comment Share on other sites More sharing options...
Beluga Posted September 1, 2015 Share Posted September 1, 2015 Were the solutions that use only CSS not acceptable? Link to comment Share on other sites More sharing options...
Peter Knight Posted September 1, 2015 Share Posted September 1, 2015 Marek - i like your demos. Very nice work. Have you seen http://mmenu.frebsite.nl/ as a lightweight jQuery approach? Link to comment Share on other sites More sharing options...
Marek Posted September 2, 2015 Author Share Posted September 2, 2015 Were the solutions that use only CSS not acceptable? to me it feels hacky to do it, and i am not sure about browser support. however I have never really looked at it in depth, so I might give it a try. Marek - i like your demos. Very nice work. Have you seen http://mmenu.frebsite.nl/ as a lightweight jQuery approach? thanks, havent seen that. it seems good. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now