It took me all frigging day, but I finally finished coding a stupid digg-style paginator in Javascript.
Posted by
Beryllium (aka grayman)
Feb 17 '09, 15:08
|
I hate javascript.
In this instance, though, javascript is not to blame, since the syntax for this logic is basically the same as PHP. It's just super-annoying to test, and my brain has NOT been in an algorithmic head space for a while.
123456...28
1...45678...28
1...23 24 25 26 27 28
It's harder to implement than you might think. At least, it was for me.
|