| Problem in IE6 on XP ¶ | |
| I would first like to heap praises on the developers of this calendar. I am getting errors in IE6, no surprise I am sure. What I want to do is have no button to open the calendar and just open the calendar when the date input field has the recieves the focus or when it is clicked. The following configuration and code works fine in FireFox but has strange behavior in IE6. This is how I setup the calendar code in my html file, which does validate: <label for="date1">*Action Date:</label> The function openTheCalendar is defined in an included script file, here is the definition: In IE I get nothing when I tab to the control however when I click on the control I get some errors, and no calendar pops up but when I click on the icon in the lower left hand corner of the window to look at the error description and then close the pointless dialog that opens the calendar appears. If I remove the onclick function from the input element the calendar opens without errors when onfocus is fired. Advice Please. sorry for the super long sentence. | |
| last |
| combining functions ¶ | |
| I previously posted a question about disabling dates prior to 7 days from todays date and received a great answer (http://www.dynarch.com/forums/367). My problem now is that the disable function suggested in the post destroys my disable weekend days function. Is there a way to combine these two functions into one? Or call the first from the second? I tried to combine them to no avail. (see code below). Let me say in closing that I have made an exhaustive search for pop up calenders and found this one to be the best and am thankful for Open Source site like this one. Eric var SEVENDAY = 3600 24 1000 * 7; function disallowDate(date) { | |
| last |
| Re: combining functions ¶ | |
| I see that I forgot to mention that my weekend days are Sunday and Wednesday, not just Wednesday as suggested in my non working code :) | |
| last |
| Re: combining functions ¶ | |
| Sorry Eric. Everything I've tried doesn't seem to work. It seems that instructing the script to evaluate dates after now + 7 should work, but it does not. It appears that the two disable functions interfere with each other. I guess that we'll have to wait and see if Mihai Bazon can solve this one. | |
| last |
| Settng Default Date ¶ | |
| I have a form that calls itself in the action attribute. How can I use date or parseDate to set the calendar to the value in it's linked control? I'm using the "for the impatient" code with a pop-up calendar. | |
| last |
| Re: Settng Default Date ¶ | |
| <cough..cough> Ah...never mind. This calendar is programmed better than I though. It automagically picked up the value in the input box. Great job! | |
| last |
| Noob exposed..... ¶ | |
| First time here. Great Calendar, love it's look. I have spent the past week or so working with your great flat calendar. Looking for a way (examples, with clean code) to connect this to a MS Access db to retrieve and display events. i've not got great experience with DHTML/JS/PhP/etc so be gentle with me. For instance, for whatever reason, am unable to locate the proper syntax to open an MS Access db to retrieve data and post on intranet. Once I'm able to locatre this syntax, retrieval should be simple enough | |
| last |
| next/prev year and month not visible ¶ | |
| Hi there, I've tried to change some params in 'calendar-setup.js' and I also changed some things in the CSS, but it didn't work out. Is there somebody who could help me? Thanks in advance, Bram | |
| last |
| Re: next/prev year and month not visible ¶ | |
| Sounds like a brower issue, unless you've tinkered with the code a lot. ;-) What browser/version are you using? What OS? | |
| last |
| Calendar shows JS function in ¶ | |
| Hello, I'm using this calendar control for a small Intranet page. It works fine for all users except one. On their system, the calendar pops up, but then where it would normally display the date at the bottom, it displays "function (par) { return s[par] || par; }" three times. Clicking a date updates the text box wtih the js function. They are using IE 5.5 SP2 on Windows 2000 SP2 (same as everyone else), and I've confirmed JS is enabled and works on other parts of the page. I have reset their security settings and IE advanced settings, but I'm having the same issue. Does anyone know what this might be? | |
| last |
| Re: Calendar shows JS function in ¶ | |
| Christopher, Have you figured out what caused the problem? I have the same issue with one of the users of my app. The IE version is 6.0, but the problem is exactly the same as what you are describing. Thanks Alex | |
| last |
| js calendar bug? ¶ | |
| I saw this problem only on firefox/IE on windows. On firefox linux works fine. | |
| last |
| Re: js calendar bug? ¶ | |
| That's a very strange bug indeed. I discovered it long time ago and after 2 days digging I traced it down to this setting in Control Panel at Date/Time setup: "Automatically adjust time for daylight saving changes". Uncheck that box and miraculously, the calendar starts working fine. (!) At this time I don't have a solution, sorry. Try enabling the "showOthers" feature, it seems to work fine when it displays dates from adjacent months. | |
| last |














