I decided to refactor the code for a responsive image gallery a responsive image gallery, that I setup not too long ago. Following the suggestions @joseph-the-dreamer made, and some other best practices, I cut down on the number of if statements.
I decided to refactor the code for a responsive image gallery, that I setup not too long ago. Following the suggestions @joseph-the-dreamer made, and some other best practices, I cut down on the number of if statements.
I decided to refactor the code for a responsive image gallery, that I setup not too long ago. Following the suggestions @joseph-the-dreamer made, and some other best practices, I cut down on the number of if statements.
- 565
- 4
- 10
How does this look? - Responsive Foundation Orbit Image Gallery refactored
EDIT: It looks a little crude (stylewise) but the working version is here: http://jsbin.com/gicin/14/
EDIT: It looks a little crude (stylewise) but the working version is here: http://jsbin.com/gicin/14/