[jQuery] Re: unordered list each li a different background

2007-07-16 Thread Stephan Beal
On Jul 16, 12:47 pm, Armand Datema [EMAIL PROTECTED] wrote: Hi What is the best way to give a different class to each item in an unordered list just a for each and then apply a new class or is there something better Applying classes has the limitation that you have to create a class for

[jQuery] Re: unordered list each li a different background

2007-07-16 Thread Klaus Hartl
Stephan Beal wrote: On Jul 16, 12:47 pm, Armand Datema [EMAIL PROTECTED] wrote: Hi What is the best way to give a different class to each item in an unordered list just a for each and then apply a new class or is there something better Applying classes has the limitation that you have to

[jQuery] Re: unordered list each li a different background

2007-07-16 Thread Stephan Beal
On Jul 16, 4:14 pm, Klaus Hartl [EMAIL PROTECTED] wrote: Hm, in my opinion it is better to keep the three layers structure (HTML), presentation (CSS) and behavior (JS) as separated as possible. That's certainly true, but creating an arbitrary number of classes for different row colors could

[jQuery] Re: unordered list each li a different background

2007-07-16 Thread Armand Datema
Hi Yeah I agree on that but i can do it either returned from back end code or with a javascript. http://itbuzz.howardshome.com/ right now I have it with classes in the css as well as html. The best option would be an ordered list but with image bullet instead of numbers. Armand On

[jQuery] Re: unordered list each li a different background

2007-07-16 Thread Klaus Hartl
Armand Datema wrote: Hi Yeah I agree on that but i can do it either returned from back end code or with a javascript. http://itbuzz.howardshome.com/ right now I have it with classes in the css as well as html. The best option would be an ordered list but with image bullet instead of

[jQuery] Re: unordered list each li a different background

2007-07-16 Thread Armand Datema
Hi yeah that is an option but i need a different bullet for each item Armand On 7/16/07, Klaus Hartl [EMAIL PROTECTED] wrote: Armand Datema wrote: Hi Yeah I agree on that but i can do it either returned from back end code or with a javascript. http://itbuzz.howardshome.com/ right

[jQuery] Re: unordered list each li a different background

2007-07-16 Thread Stephan Beal
On Jul 16, 5:17 pm, Armand Datema [EMAIL PROTECTED] wrote: yeah that is an option but i need a different bullet for each item You still haven't given us much info to work with. Do you need a specific number of bullets or an unpredictable/arbitrary number? If you can generate the code on the