egandalf wrote: > Kent - Awesome addition, and thank you. I'm not nearly skilled enough > to extend JQuery like that. > > I do have a question though. In testing this patch, I find that users > can still select an arbitrary range, when what I'm looking for is to > always select the entire week (not multiple weeks, just a single > week). Is that possible with your modification? > > Thanks again! > No problem; glad to share. The ability to just select weeks *only* is beyond what I added; and would require customization of the datepicker code again.
I would recommend changing the _selectDay call and map it to the _selectWeek call after some date calculations to ensure the date passed to _selectWeek is the first day of the week. That should do what you need. Good luck, -Kent. -- Kent M. Davidson MarketRuler: Marketing Power Tools http://www.marketruler.com/ W: 866-622-8636 x88 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
