Loading ...
Sorry, an error occurred while loading the content.

Re: YUI calendar group changePageEvent how to detect next/ previous month navigatio

Expand Messages
  • sudhakar mishra
    ... http://yuiblog.com/sandbox/yui/v260/examples/calendar/calInterval.html ... changePage event doesn t provide old/new pageDate values). If you want to file
    Message 1 of 4 , Oct 30, 2008
    • 0 Attachment
      --- In ydn-javascript@yahoogroups.com, "Satyen Desai" <sdesai@...>
      wrote:
      >happy diwali i m from newdelhi INDIA
      > Hi,
      > Here's the IntervalCalendar example updated with the functionality
      you're looking for:
      >
      >
      http://yuiblog.com/sandbox/yui/v260/examples/calendar/calInterval.html
      >
      > Unfortunately, it's not as straight-forward as it should be (the
      changePage event doesn't provide old/new pageDate values). If you
      want to file an enhancement request for this, I can look into it for
      a future release.
      >
      > Regards,
      > Satyen
      >
      > ________________________________________
      > From: ydn-javascript@yahoogroups.com [mailto:ydn-
      javascript@yahoogroups.com] On Behalf Of Sumit Kumar Dhal
      > Sent: Thursday, October 30, 2008 4:18 AM
      > To: ydn-javascript@yahoogroups.com
      > Subject: [ydn-javascript] Re: YUI calendar group changePageEvent
      how to detect next/ previous month navigatio
      >
      >
      > Someone please help me on this.
      >
      > Thanks
      > Sumit
      >
      > --- In ydn-javascript@yahoogroups.com, "Sumit Kumar Dhal"
      > <dhalsumit@> wrote:
      > >
      > >
      > > Hi All,
      > >
      > > I am using YAHOO.example.calendar.IntervalCalendar and need to
      > catch
      > > check whether it is a privious OR next month navigation change"
      > when
      > > the changePageEvent is fired.
      > >
      > > cal.changePageEvent.subscribe(function() {
      > > alert(cal.pagedate);
      > > //i want alert here that say whenther user clicked next/
      > previous
      > > }, cal, true);
      > >
      > > Please help.
      > >
      > > Thanks in advance
      > > Sumit
      > >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.