Results 1 to 3 of 3

Thread: doDrag and it's canvas parameter....

  1. #1
    Shad0w is offline Junior Member
    Join Date
    Aug 2008
    Posts
    5
    Rep Power
    6

    Default doDrag and it's canvas parameter....

    I'm writing a zimlet and according to the docs, doDrag takes a canvas parameter....

    The problem is, if you don't specify an <actionUrl> then the canvas (dialog in my instance) never gets created. If you do specify the actionUrl and pass it an empty url, the dialog is created but the doDrag function is never triggered.

    Is there something obvious I'm missing here?

    Otherwise, is there a good way to create a new dialog box?

    Last question is, I can't seem to see where in the docs (if it does) it talks about how to capture the "ok" and "cancel" buttons on the canvas..... anyone able to give me a pointer in the right direction?

    Thanks

  2. #2
    tdesorbaix is offline Zimlet Guru & Moderator
    Join Date
    Apr 2007
    Location
    Paris, France
    Posts
    367
    Rep Power
    8

    Default

    Welcome to the forum!

    In your case you need to use a js file.

    This example zimlet I just done should help you :
    Attached Files Attached Files

  3. #3
    Shad0w is offline Junior Member
    Join Date
    Aug 2008
    Posts
    5
    Rep Power
    6

    Default

    Perfect, thanks
    Last edited by Shad0w; 08-21-2008 at 11:30 AM.

Thread Information

Users Browsing this Thread

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

Posting Permissions

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