Results 1 to 2 of 2

Thread: Calendar onMouseUp or doubleclick event

  1. #1
    tross is offline Intermediate Member
    Join Date
    Feb 2008
    Location
    San Luis Obispo, CA
    Posts
    16
    Rep Power
    7

    Default Calendar onMouseUp or doubleclick event

    I'm new to Javascript and new to Zimlets and I have a question I'm hoping one of you Zimlet gurus can give me a little guidance on.

    I have created a Zimlet that opens a new appointment and populates the attendees when I click on the Zimlet icon. What I would like to do, though, is to set the Start and End time/date when the user double-clicks or drag-selects a time on the calendar grid. Ultimately, I would want my Zimlet to react only when the user double-clicks or drag-selects in the "calendar_union_scroll" (that's the class-name of the area) on the Calendar's Schedule view. Currently that area does not react to click or drag events, so I would not be causing issues with normal meeting scheduling.

    Does anyone have a couple lines of code that would add an event listener or two to that area and what data I would grab from the resulting event for the Start time/date?

    I've scoured the code for many of the available Zimlets, but there are only a couple that deal with the calendar and they don't use these type of events for input.

    Thanks in advance for your time. By the way, I'm on ZCS 5.0.19 NE.

  2. #2
    ab5602 is offline Project Contributor
    Join Date
    Nov 2007
    Location
    Detroit, MI
    Posts
    67
    Rep Power
    7

    Default

    Without modifying the Zimbra source, I don't believe you are going to be able to capture these events with a Zimlet. The only drag-and-drop event that I know you can access with Zimlets are when an object is dropped onto the Zimlet icon itself. I may be wrong though.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Leopard iCal and ZCS iSync connector, duplicate events
    By nsmarler in forum CalDAV / CardDAV / iSync
    Replies: 7
    Last Post: 03-21-2011, 10:03 AM
  2. Replies: 5
    Last Post: 10-21-2009, 03:05 PM
  3. Calendar - Clickable URL Link in Event?
    By dlindsay in forum Developers
    Replies: 3
    Last Post: 04-02-2009, 11:32 AM
  4. Replies: 0
    Last Post: 11-26-2008, 02:04 AM
  5. Calendar: Event versus Appointment
    By reverber in forum Administrators
    Replies: 2
    Last Post: 11-20-2007, 09:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •