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

Re: Nicely stopping ADSAFE widgets?

Expand Messages
  • Douglas Crockford
    ... You can call the widget s .remove() method.
    Message 1 of 2 , May 10, 2010
      --- In jslint_com@yahoogroups.com, "adam.kumpf" <adam.kumpf@...> wrote:
      > Since ADSafe widgets are basically sandboxed javascript/dom apps, is there any suggestion on how to nicely shut them down (such as an ADSAFE.stop() function)?
      > For example, widgets can be added/removed at any time by the host page, but it might be nice to save some state before closing/removing a widget in case the user has modified it or interacted with it somehow.
      > Any thoughts on how to play nicely with interactive, data-rich widgets?

      You can call the widget's .remove() method.
    Your message has been successfully submitted and would be delivered to recipients shortly.