Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

looping zbera #10

Open
Devric opened this issue Aug 30, 2012 · 2 comments
Open

looping zbera #10

Devric opened this issue Aug 30, 2012 · 2 comments

Comments

@Devric
Copy link

Devric commented Aug 30, 2012

how would i add

  • .odd / .even for each loop
  • .last to the last loop
@WilliamStam
Copy link

probably use js for that... something like if i / 2 has a . in it then odd else even

if i == array.length for last

@Devric
Copy link
Author

Devric commented Sep 6, 2012

but where would I write this?

I mean this loop thing is done inside of the jqote function. so I can't add a % 2 in the loop. I currently just did it separately with CSS3 selector to add class in dom. don't feel is a ideal solution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants