A YAHOO.widget.Dialog object can be instantiated with a boolean specifying whether the dialog should be draggable or not.
But how can I later change the draggable setting once the dialog is instantiated and available? I don’t see any way to do that in the API. Browsing through the object in the debugger, I see the intial configuration values, but changing those don’t change the behavior once active.
“draggable” appears to be the property/attribute you want. Try doing:
Or alternatively,