treehouse : what would you like to learn today?
Web Design Web Development iOS Development

Javascript Noob Question (swipe.js)

  • Hi guys,

    Basically when I reach my mobile-size breakpoint I transform a list of projects into a swipe-ready slider (using swipe.js). The question is, what's the best way to (if possible) un-bind/re-bind the slider as the breakpoints are triggered. At the moment once it's active it stays active even when you re-scale the window large.

    http://codepen.io/sliver37/pen/nmiHd

    I'm still a total noob when it comes to javascript/jQuery..

  • I know there's a super-genius-guru out there that can tell me whether it's practical or not ;)