Questions tagged [alternate]
194 questions
0
votes
1 answer
Change height to odd rows using CSS & jQuery
I have a table with 3 columns. The second column needs to have no styling. With that, every other row needs no styling and a height of 20px. I'd like to do this directly with jQuery. In the jsfiddle example the 2nd row height is the height I want…

squirc77
- 73
- 2
- 4
- 9
0
votes
1 answer
Alternate Rows with exception > inherit background color
I have a table with alternate row background-color:
tr:nth-child(even) {background: #FFF}
tr:nth-child(odd) {background: #f4f4f4}
The table is comprised of two types of cells, ".main" and ".sub".
I would like the background-color to alternate every…

dsol828
- 403
- 1
- 6
- 16
0
votes
1 answer
I want each HTML line to alternate in color inside a textbox, back and forth
I have scrolling HTML text in Actionscript 2. How do I make each line alternate colors back and forth (for intended readability)? I don't want to have to code the color for all 600 lines or use mass-replace function, if possible!

Chance Turcotte
- 1
- 1
0
votes
2 answers
Alternate background for rows in a ListFragment not working when resizing the rows
I'm using a custom ListFragment to display a list in which even rows have a background and odd rows don't. To do this I made a subclass of ArrayAdapter with an overriden getView(int, View, ViewGroup) method and set the background resource for the…

Sergio Maass
- 3
- 1
0
votes
4 answers
Alternating two jQuery objects
I am trying to extract an old FAQ system from my old site and recode it into a
- .
This is my jQuery code so far:
$accordion = $('.accordion');
$headers = $accordion.find('h3.trigger-h3-accordion a');
$content =…

atwright147
- 3,694
- 4
- 31
- 57
0
votes
1 answer
Android - Getting camera LED to strobe with handler?
I am using a timed alert (working fine) to try and run code that will quickly switch camera flash LED between off and on positions.
I'm trying to use a handler to switch between the two modes but cannot seem to get it to run.
I was wondering if…

Griffin
- 1
- 1
0
votes
1 answer
Table with alternate colors and tr rounded corners
I need to create a table that has both alternate and rounded TR corners, managed to create the tr corners using something like this http://jsfiddle.net/tXa53/
but now I cannot create the alternate part is there a jQuery script or something that…

Ancyent
- 27
- 1
- 8
0
votes
1 answer
Reporting Services: alternate row background when filtering rows
I have a dataset with 10 fields. I group that dataset into 3 groups, where each group is a child of previous one. So it would be something like:
Users
Username
LoginDate
The problem is that not all login dates have to be shown, so I…

JNM
- 1,175
- 4
- 20
- 39
0
votes
2 answers
javascript stylesheet changer not working
Ok a friend gave me this code, and it doesn't work. I have been looking for a java stylesheet changer, and this is the only one I can find. When I click on the link (to change the style) nothing happens. Help? And I do have trouble understanding…
0
votes
2 answers
asp net imagebutton alternate text multiline
I would like to know is it possible to make alernate text multiline, not single line?
Thanks, Oak.

Oak
- 1,159
- 3
- 13
- 21
0
votes
1 answer
How to use alternate image url when image url is empty in android?
Here i am displaying a image where image url is fetched by parsing JSON.
It works fine up to now.
Here is the code :
ImageView iconImageView = (ImageView) convertView
.findViewById(R.id.listicon);
//TAG_IMAGE is tag name of image…

captaindroid
- 2,868
- 6
- 31
- 45
0
votes
1 answer
Alternate content for flash | Magento
Ok so I have my home page which uses flash here:
http://www.emmaphillipsbridal.com/
If I try and add some alt code so that ipad and iphone users can see something instead of a blank page, but when i save the code it disapears, i have seen a few…

Dan Davies
- 163
- 3
- 14
-1
votes
2 answers
CSS Safari : target table tr (even &odd) ignoring td and th to add background linear-gradient
I can't find a simple css solution to target only tr from table ignoring all child (td and th) to use background-image:linear-gradient().
this solution :
table-name tr:nth-child(even)
add background to all td and th.
I want just target each row…

imagIne
- 49
- 1
- 6
-1
votes
1 answer
swap alternate in an array
You have been given an array/list(ARR) of size N. You need to swap every pair of alternate elements in the array/list.
You don't need to print or return anything, just change in the input array itself.
#include ;
using namespace std;
void…

gl007..
- 1
-1
votes
2 answers
Java - method that add element then multiply every element in a list
can I please for a help in this exercise? I exhausted my knowledge, after many hours.
I need to write a static method in Java that takes as a parameter list of numbers and returns int value. The value is a result of adding and multiplying alternate…

direeX
- 3
- 2