» Forums
» The DHTML Calendar
» General discussion
» month drop down only shows ODD months - turn off year button?
» Re: YEAR drop down only shows ODD YEARS - turn off year button
| Re: YEAR drop down only shows ODD YEARS - turn off year button ¶ | |
| I meant to say YEARS. It skips YEARS. my subject line was wrong. Sorry. | |
| Re[2]: YEAR drop down only shows ODD YEARS - turn off year butto ¶ | |
| how to turn off the year button i don't know really , but the solution for showing the years in the combobox next and previuos correctly (it actually takes always 2 years) is very simple. Open calendar.js and look around line 310. In function named Calendar.showYearsCombo after the line where it says yr = yr.nextSibling; replace the next line with Y += fwd ? 1 : -1; the 1 and -1 replace i think something like cal.nextyearstep or so, i can't remember it well. CY | |
| last |
| Re[3]: YEAR drop down only shows ODD YEARS - turn off year butto ¶ | |
| Awesome, excellent, brilliant ! Thank you so much. It worked like a charm. Thanks - Brent | |
| last |
| Re[3]: YEAR drop down only shows ODD YEARS - turn off year butto ¶ | |
| Actually, you should probably leave the code alone and use the "step" parameter when you set your calendar up. Calendar.setup({ | |
| last |
(*) Discounts available for the above products!













