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…

Георгий Пугачёв
- 21
- 2
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
-
Tantalizea Lacaden
- 273
- 1
- 3
- 14
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).…

Tan
- 21
- 5
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