tags:

views:

20

answers:

1

i create a modal , which i cannot move, it showing somewhere i specify the position.

I want to move the dialog modal.

is there any parameter for that.

A: 

Your question is a bit vague, but I'm assuming you are talking about the jQuery UI Dialog box.

If that is the case, you only need to set the "draggable" option (found in the options within the documentation). An example is like this:

$('div#dialog-example').dialog({
  modal: true,
  draggable: true
});

Something is confusing is that, by default, draggable is set to true, so you must be unsetting it. (Assuming I understand your question...it's a bit of a confusing question.)

JasCav
yes you are correct , draggable: true is default ..
zod
am using jquery-ui ..i think its unsetting there..i have to check.. i was looking for this parameter mainly 'draggable'. i try to override it by giving on call like yu give..but its not.. may be style also playing with jquery-ui class.
zod
when i show modal the layer beneath that , i make a faded layer by which the under layer is inactive.
zod
if i make the modal draggable , still can i make the beneath layer inactive,,,only after lcosing dialog the underlying layer shud be active
zod