Questions tagged [zebra-striping]

Zebra striping is a diagnostic shading technique used in computer graphics to visualize curvature on smooth surfaces.

Zebra striping is a diagnostic shading technique used in computer graphics to visualize curvature on smooth surfaces.

49 questions
76
votes
3 answers

CSS div alternating colour

I'm trying to zebra stripe my divs in my website, sounds simple enough, however I've found that when I added a header in between the rows of my divs it seems to count the header in the odd/even styling HTML
Andrew Morris
  • 1,602
  • 3
  • 14
  • 26
25
votes
6 answers

Add striped styling to a list of items

What would be the best way to stripe a list with KnockoutJS? The class on the div below should be even or odd depending where it is in the list, and update when adding or removing items.
Mike Flynn
  • 22,342
  • 54
  • 182
  • 341
12
votes
4 answers

jqGrid zebra/alt rows background not working due to UI Theme class

We cannot get zebra striping to work in jqGrid. We use altclass and altRows - issue is it appears the ui-widget-content class from the JQuery UI has a background setting which is overriding our altclass's background setting. Any ideas? Update:…
Marcus Leon
  • 55,199
  • 118
  • 297
  • 429
7
votes
3 answers

Android Simple TextView Animation

I've got a TextView that I would like to count down (3...2...1...stuff happens). To make it a little more interesting, I want each digit to start at full opacity, and fade out to transparency. Is there a simple way of doing this?
Rob
  • 762
  • 2
  • 21
  • 44
5
votes
3 answers

Stripe class for div

I have a long list of multiple div... let's say 20 div All wrap in another one..
text text
text text
text text
text text
menardmam
  • 9,860
  • 28
  • 85
  • 113
5
votes
1 answer

N- level zebra striping using css3 selectors?

We have a basic zebra striping pattern going in our .less file for .list-striped. We even have it working for a nested list, aka, it reverses the selectors, otherwise you end up with the parent list item, and the first list item of the child having…
Hailwood
  • 89,623
  • 107
  • 270
  • 423
3
votes
3 answers

Add zebra striping but ignore hidden elements

I have the following code which filters a list according to what class is added to the li element. The zebra striping works fine when all items are showing but when you filter and lets say one of the list items is hidden teh zebra stripe goes out of…
user141621
3
votes
1 answer

jqGrid zebra striping

Does jqGrid support zebra striping? I can't see any examples. By zebra striping I mean each even row has one color and each odd row has another color. Currently we are using JQuery UI themes to theme our grids.. ideally the way we do striping…
Marcus Leon
  • 55,199
  • 118
  • 297
  • 429
3
votes
2 answers

Datatables: keep zebra stripes after hiding / showing table rows

I am hiding rows dynamically in a table ('myTable') based based on manually added classes ('myClass'). The table uses the Datables plugin with the standard zebra-striped background colors. Is there a way to keep these zebra stripes after manually…
user2571510
  • 11,167
  • 39
  • 92
  • 138
3
votes
2 answers

My 'zebra striped' table doesn't print the striping

I have a page that is not "printer friendly" so my users have asked for an option to print out a table that displays results of a search. I have created a printer friendly page, which is opened via a button and populated from the original table. …
CoMo G-Dawg
  • 401
  • 1
  • 3
  • 18
2
votes
4 answers

apply appropriate zebra striping to appended DOM elements with jQuery

I'm using $(".entry").filter(":odd").addClass('alt'); within $(document).ready() to facilitate zebra striping of everything with class 'entry'. In the course of interacting with the page, new DOM elements with class 'entry' are appended…
Jake
  • 5,379
  • 6
  • 19
  • 19
2
votes
1 answer

DataTable control: Zebra striping not displaying on IE8

We're having some slight problems with our Zebra striping implementation. While it displays alternating colors in FF 3.6 and Chrome 10, it does not work in IE 8. Any suggestions? Code:
Mark
  • 73
  • 11
2
votes
1 answer

jquery zebra-striping: how to ignore nested table from radiobuttonlist

I'm using jquery to zebra stripe a table, and it's working fine - except that there's a radio button list that is also getting the striping applied. My table has The query is $('.stripeMe…
chris
  • 36,094
  • 53
  • 157
  • 237
2
votes
0 answers

Print label using IEEE 1284 - USB Port and Zebra stripe S500

My company is doing upgrade the system. Everything should be fine until I had to deal with our old label printer. They have used Zebra Label Printer model: Stripe S500 About the PC, we've upgraded to the new one,therefor IEEE 1284 doesn't exist…
Redplane
  • 2,971
  • 4
  • 30
  • 59
2
votes
1 answer

How to implement "zebra striping" in highcharts axes

I want to implement "zebra stripes" styling on the highcharts background as it will in improving readability of the graph data. Notice the gray color between horizontal axes https://i.stack.imgur.com/6frYR.png I was unable to find any such option in…
1
2 3 4