PDA

View Full Version : Using the calendar script



ajtruckle
01-25-2013, 09:31 PM
Hi

I have been looking at using this popup calendar:

http://www.dynamicdrive.com/dynamicindex7/jasoncalendar.htm

But my page has a black background and white text. So whilst the calendar shows the text with the top (year / month) and days of week are not visible.

How do I change this?

ajtruckle
01-25-2013, 09:43 PM
If I change my HTML to this:

<td class="cell-left-2-column" style="color: #000000 "><script type="text/javascript">DateInput('date', true, 'DD-MON-YYYY')</script></td>

It causes the calendar to show the text in black which is good! But, the current date

ajtruckle
01-25-2013, 09:43 PM
<td class="cell-left-2-column" style="color: #000000 "><script type="text/javascript">DateInput('date', true, 'DD-MON-YYYY')</script></td>

That seems to be the answer.

james438
01-25-2013, 10:47 PM
Sometimes the spam filter can be a little too finicky. Sorry your posts got caught up along with the usual spam. I decided to leave both of your posts. Feel free to edit them as you see fit. They seem to overlap a little.

ajtruckle
01-26-2013, 09:26 AM
Thanks. I am wondering if you have a similar class that works in the same way for getting a "time" from the user.