XML.com: XML From the Inside Out

XML.comWebServices.XML.comO'Reilly Networkoreilly.com
  Articles | Weblogs | Newsletter | Safari Bookshelf
advertisement

Article:
 Doing That Drag Thang
Subject: Stop Drag and Drop when I Zoom
Date: 2002-05-15 16:02:54
From: Gene Pong

Is there a way to disable the drag and drop from this article when someone has zoomed?

Previous Message Previous Message   Next Message Next Message


Titles Only Titles Only Newest First
  • Stop Drag and Drop when I Zoom
    2002-05-15 16:33:22 Gene Pong [Reply]

    :) I'm posting a reply to myself. I should have seen this:
    Have the onzoom event trigger a function, stopDrag for example, that sets a zoom flag. Then have the functions initDrag and drag check if the zoom flag is not set to proceed with their statements.
    I also had to call the endDrag function in the end of the stopDrag function for the text to be displayed after zooming in.

Sponsored By:


Contact Us | Our Mission | Privacy Policy | Advertise With Us | | Submissions Guidelines
Copyright © 2008 O'Reilly Media, Inc. | (707) 827-7000 / (800) 998-9938