| Author |
changing the color?
|
venkatesh padmanabhan
Greenhorn
Joined: Feb 17, 2006
Posts: 20
|
|
i have a calendar program in jsp. when the user clicks on any particular date, the user should be able to add a description of the date, and after entering the color of the selected date should change to some other color indicating its been selected. please help for changing the color.. i want the selected date to change to some other color. please help with modified code in the above code.
|
 |
Eric Pascarello
author
Rancher
Joined: Nov 08, 2001
Posts: 15357
|
|
change the color? <td style="color:#123321;background-color:#FFF00"> Eric
|
 |
venkatesh padmanabhan
Greenhorn
Joined: Feb 17, 2006
Posts: 20
|
|
i want to change the color, when the user clicks/selects the date.. I have the dates in a link format,when the user clicks on a particular date, that particular date alone should change color.. can u help?
|
 |
Liyaquat Ali
Ranch Hand
Joined: Nov 16, 2005
Posts: 156
|
|
I haven't actually gone through your code completely, but here is a tip, If you want to change the color on click then you will need to call a javascript function when the link is clicked. here you have dates in a calendar so U will also need to pass the name or index number of the date which is being clicked. The function which is being called will change the style property for that individual element, which could either be a table td or div. Hope this helps.
|
Excuse me while I kiss the sky (Jimi Hendrix)
|
 |
 |
|
|
subject: changing the color?
|
|
|