Board Logo

Calendar settings
mfwills - 10/8/2005 at 07:10 PM

I want to set the week to begin with Sunday, which I gather means that somewhere, somehow, I want to set NUM_WEEKSTART to 0.

The Calendar documentation says only that

"Calendar settings are variables which values can be set before calendar constructor call."

with no explanation as to what that means, or how to accomplish it. No syntax example, nothing describing what a calendar constructor is or where it is, nothing. So I went hunting, looking for examples of the other settings listed.

In the .js file, I found

var BUL_YEARSCROLL = true;

so I emulated it with


immediately following, without success.

I see nothing similar elsewhere, nor any example of how to incorporate additional settings.

What is the proper syntax, and where do I put it?


mfwills - 10/8/2005 at 09:39 PM

Never mind. I found it in calendar.html.

I really hate to look a gift horse in the mouth, but there is definitely room for improvement here.

Don't get me wrong. I appreciate a great free product now that I have it working, but it took a lot of trial and error and a lot of hunting around to figure out what I needed to do to get to this point.

If the intent is to provide a product anyone can use, then the documentation and implementation instructions should not be written by programmers. They may know what they're describing, but the overwhelming majority don't seem to comprehend that the rest of us don't.

Back to forum: