开发者

Cannot set minHeight and minWidth in SimpleModal jQuery plugin

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

开发者_StackOverflow
<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 ?


I had similar experience using version 1.3.5. However, I set the width and the height in the basic.css to be auto and that seemed to solve the problem

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜