Hi
Can anyone help me..
How can I make onClick color remains the same =red?
Currently if it is mouseover it change to red, onmouseover it change to original background color. I need it to remain red once it is click so that I know where is the last location I click on the bar
[PHP]
<td width="<?php echo ($cellwidth); ?>" height="17" bgcolor="yellow " onMouseOver="th is.style.backgr ound ='red'"
onMouseOut="thi s.style.backgro und='yellow'" onClick="window .frames.eventsD isplay.location = 'MB2eventlistTi meline.php?movi eID=<?php echo $movie->movieID;?>&eve nts=<?php echo $timeline->eventCategory; ?>#<?php echo $timeline->eventID?>';par ent.notesForm.e ventID.value=<? php echo $timeline->eventID?>;pare nt.resetNotes() ;" style="cursor: pointer;"></td>
[/PHP]
Stuck..
nma
Can anyone help me..
How can I make onClick color remains the same =red?
Currently if it is mouseover it change to red, onmouseover it change to original background color. I need it to remain red once it is click so that I know where is the last location I click on the bar
[PHP]
<td width="<?php echo ($cellwidth); ?>" height="17" bgcolor="yellow " onMouseOver="th is.style.backgr ound ='red'"
onMouseOut="thi s.style.backgro und='yellow'" onClick="window .frames.eventsD isplay.location = 'MB2eventlistTi meline.php?movi eID=<?php echo $movie->movieID;?>&eve nts=<?php echo $timeline->eventCategory; ?>#<?php echo $timeline->eventID?>';par ent.notesForm.e ventID.value=<? php echo $timeline->eventID?>;pare nt.resetNotes() ;" style="cursor: pointer;"></td>
[/PHP]
Stuck..
nma
Comment