开发者

jQuery - Display a custom Modal

I would like to display a custom Modal dialogue. I know about the开发者_运维技巧 libraries that are available that allow customization via StyleSheets. Can I create my own <div> and have it popup like a dialogue without adding all that extra fluff?


Here's a link to jQuery UI

The way that I make a modal dialog is create my dialog inside div tags with style="display:none;" so it won't appear until I choose to. The example on jquery UI's page goes:

$( "#dialog-modal" ).dialog({
            height: 140,
            modal: true
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜