[Resolved] How do i reduce this to one loop?
I have the following code that i would like to optimize by reducing the 2 loops to a single one.
Problem is that there’s some specific code i only need run once(the nav and section elements). Those need to be outside the loop, so i’m forced to close the nav loop before i can begin the section loop.
Any help would be greatly appeciated.
You can see what i have here: http://pastebin.com/VChkx4yR
- The topic ‘[Resolved] How do i reduce this to one loop?’ is closed to new replies.