This is a migrated thread and some comments may be shown as answers.

striped list

1 Answer 33 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Dulmandakh
Top achievements
Rank 1
Dulmandakh asked on 14 Sep 2012, 10:53 AM
I'm trying to display large number of items using ListView (web). Solid view looks not good so I need to have striped list. 

Below script is not working

$("li:odd").css("background-color", "#202020");

How I can make ListView striped?

1 Answer, 1 is accepted

Sort by
0
Nohinn
Top achievements
Rank 1
answered on 14 Sep 2012, 11:47 AM
You can use something like this:
http://jsbin.com/uwuvez/1
Tags
ListView
Asked by
Dulmandakh
Top achievements
Rank 1
Answers by
Nohinn
Top achievements
Rank 1
Share this question
or