Questions tagged [alternate]

194 questions
2
votes
1 answer

WPF Listview different alternate row colors for 3 diff lists..?

How do i set alternate row colors for WPF Listview. If i have only 1 list I can set in XAML, but in my case, the alternate row colors need to be changed based on the list. For example,i have 3 diff lists... 1) order by Company name, 2) order by…
raj
  • 21
  • 1
  • 2
2
votes
7 answers

alternative CSS sheets for IE?

I have a question about CSS coding practices. IE often requires hacks or workarounds to get things looking right, and there are two different ways of doing things: Put everything in one big CSS file Create two CSS files and have it load depending…
Jeff
  • 12,147
  • 10
  • 51
  • 87
2
votes
1 answer

not working

I want an end-user to print a PDF file while printing a web page. Stile my code does not work.
Maxim Ilin
  • 125
  • 3
  • 9
2
votes
0 answers

Alternative to SimpleJaxWsServiceExporter

Now I use SimpleJaxWsServiceExporter for providing contract-last web service: @Component @WebService(serviceName = "SampleService") public class SampleEndpoint extends SpringBeanAutowiringSupport { @WebMethod public ResponseBo…
2
votes
1 answer

alternating each Week

I need to implement a mechanism in Java, which alternates a statement each week, eg. in week one it sets a variable to 10, in week two it sets it to 15 and in week 3 it sets it to 10 again. This should work for every year. I now tried archeiving…
user3172567
  • 461
  • 1
  • 7
  • 19
2
votes
6 answers

CSS: If class is odd/even, change margin

I'm trying to alternate the margin to make images go zig zagged up and down. I found this article that came close, but applied the one change to all .brochureImg classes. What am I doing wrong? HTML
2
votes
1 answer

Alternate more than 2 background colors with CSS or JS

I currently have several
elements that repeat themselves and I want to assign a 5 different alternating background colors. Right now I'm using :nth-of-type(#n) but I'm almost positive that I'm not using it right and some weird behavior is…
CosmicDrawers
  • 43
  • 2
  • 5
2
votes
1 answer

Replacing text in line, with different strings using shell script

Was hoping someone can assist; I've got an xml file where I want to search for a specific string and then replace with different text each time a match is found. For example I need to search for everything with machine tags within xml the file so…
CiCa
  • 141
  • 2
  • 13
2
votes
2 answers

Alternate method of inserting a .PDF file into HTML page

Currently I'm using an embed tag with the src directed to the location of the .pdf however the embed tag does not allow for z-index manipulation or other div tags to be placed over it. After extensive searching for a fix to allow for embed tag…
sadmicrowave
  • 39,964
  • 34
  • 108
  • 180
1
vote
1 answer

Blackberry 'ControlledAccess' exception for persistent storage when launching from alternate entry point

Background: I have an application with an alternate entry point. It listenes for SMS and Email sent events. The application get launched normally from the 'Download' folder (by user) and also when an SMS or Email is sent (upon user confirmation).…
1
vote
1 answer

php multiple alternate column loop

im very new to php and html and im trying to create an ouput like this coming from a database table recordset. where "table record n" is the column from the db table record set basically the table will be a 1x2x1x2x4 columns with 5 rows
oliver.sakkam
  • 201
  • 2
  • 5
1
vote
1 answer

Two threads print even and odd numbers between 0 to 5 alternately in Python

I'm trying to get the result below running 2 threads alternately. *Between 0 to 5, thread A prints even numbers and thread B prints odd numbers (I use Python 3.8.5): A:0 B:1 A:2 B:3 A:4 B:5 So, with global variables, locks and while statements, I…
1
vote
1 answer

How to alternate showing object in different position at different speed with pygame

I'm new using pygame. When I run the code I have a GUI with a ball fixed on the left side of the screen. I also have 10 different buttons that represents different speeds. When I click one of speed button I want to change ball position from left to…
deidei
  • 11
  • 4
1
vote
1 answer

pandas: fill empty column with alternate values

I have a dataframe as follows, but with more rows import pandas as pd import numpy as np d = {'col1': ['data1', 'data2','data3','data4','data5'], 'col2': ['a', 'b','c','d','e']} df = pd.DataFrame(data=d) I have added an empty column to…
zara kolagar
  • 881
  • 3
  • 15
1
vote
1 answer

Need to source java-1.8.0-openjdk-amd64 specifically and install?

App throwing error at startup looking specifically for java-1.8.0-openjdk-amd64. Environment is Ubuntu1604. Java java-8-openjdk-i386 is already installed , but need the amd64 and then use it as an alternate. Where can I source amd64 tar file ? Have…
user16051992
  • 13
  • 1
  • 5
1 2
3
12 13