views:

29

answers:

0

I have read from documentation how can I set minheight and minwidth of modal dialog.

$("#sample").modal({
    minHeight:400,
    minWidth: 600
});

However, even if I rewrite the sample html from

<a href='#' class='basic'>Demo</a> 

to

<a href onclick="$('#basic-modal-content').modal({ minHeight: 1000, minWidth: 1000 });" >Demo</a> 

Modal dialog has still the same default width and height. Am I missing something ?