Click here to Skip to main content
15,909,539 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
AnswerRe: Two types of user login in joomla Pin
Gerben Jongerius26-Aug-10 0:14
Gerben Jongerius26-Aug-10 0:14 
GeneralRe: Two types of user login in joomla Pin
govind_22200726-Aug-10 0:44
govind_22200726-Aug-10 0:44 
GeneralRe: Two types of user login in joomla Pin
bobby.villines10-Sep-10 9:04
bobby.villines10-Sep-10 9:04 
QuestionUsing webservice in php Pin
sarang_k23-Aug-10 18:22
sarang_k23-Aug-10 18:22 
AnswerRe: Using webservice in php Pin
Gerben Jongerius25-Aug-10 22:35
Gerben Jongerius25-Aug-10 22:35 
AnswerRe: Using webservice in php Pin
Smithers-Jones26-Aug-10 1:44
Smithers-Jones26-Aug-10 1:44 
QuestionHow would I get it to... replaceWith()? [modified] Pin
thebiostyle21-Aug-10 14:57
thebiostyle21-Aug-10 14:57 
AnswerRe: How would I get it to... replaceWith()? Pin
cjoki23-Aug-10 4:43
cjoki23-Aug-10 4:43 
if I understand you correctly, you are trying to highlight certain cells in a column of table data.

If this is right then I would structure your table output as...

<tr>
   <td id='1' class='squad_fire'>Squad Info</td>
</tr>
<tr>
   <td id='2' class='squad_air'>Squad Info</td>
</tr>


Then you can access the values either by the cell ID or by the className property using a select tag with the option values set to the squad names (squad_fire, squad_air).
You will need to keep track of the last selected list item in a javascript variable (remember to check for undefined on the first one selected) and you will need a function to return an array of objects base on the array returned from getElementsByTagName('td') and check for the classname value to match the one selected. If it does then use the dom addclass to add a class called, hightlight. If it does not match then make sure that the hightlight is not there. repeat this in a loop and you should have what you need.
QuestionLogin to htaccess Pin
stefanism19-Aug-10 15:33
sussstefanism19-Aug-10 15:33 
AnswerRe: Login to htaccess Pin
Graham Breach19-Aug-10 23:37
Graham Breach19-Aug-10 23:37 
QuestionPassword Display Pin
gdpgupta17-Aug-10 22:44
gdpgupta17-Aug-10 22:44 
AnswerRe: Password Display Pin
Richard MacCutchan18-Aug-10 1:29
mveRichard MacCutchan18-Aug-10 1:29 
GeneralRe: Password Display Pin
gdpgupta18-Aug-10 2:01
gdpgupta18-Aug-10 2:01 
GeneralRe: Password Display Pin
Richard MacCutchan18-Aug-10 2:36
mveRichard MacCutchan18-Aug-10 2:36 
AnswerRe: Password Display Pin
Nuri Ismail18-Aug-10 3:53
Nuri Ismail18-Aug-10 3:53 
AnswerRe: [HELP] Family Tree Pin
Peter_in_278015-Aug-10 11:55
professionalPeter_in_278015-Aug-10 11:55 
GeneralRe: [HELP] Family Tree Pin
Peter_in_278015-Aug-10 13:14
professionalPeter_in_278015-Aug-10 13:14 
AnswerRe: [HELP] Family Tree Pin
User 171649215-Aug-10 22:07
professionalUser 171649215-Aug-10 22:07 
GeneralRe: [HELP] Family Tree Pin
Peter_in_278015-Aug-10 22:23
professionalPeter_in_278015-Aug-10 22:23 
Questioncode php for tic tac toe Pin
nsultan715-Aug-10 3:30
nsultan715-Aug-10 3:30 
QuestionHow can I mix confirm(); from javascript with php? Pin
fantasyMe13-Aug-10 6:15
fantasyMe13-Aug-10 6:15 
AnswerRe: How can I mix confirm(); from javascript with php? Pin
cjoki13-Aug-10 7:51
cjoki13-Aug-10 7:51 
QuestionVideo not playing in a .php file Pin
offroaderdan13-Aug-10 0:16
offroaderdan13-Aug-10 0:16 
Questionno module named _tkinter Pin
Sakhalean10-Aug-10 19:57
Sakhalean10-Aug-10 19:57 
AnswerRe: no module named _tkinter Pin
David Skelly12-Aug-10 2:03
David Skelly12-Aug-10 2:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.