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
});
精彩评论