2014-02-07 95 views

回答

0

使用dialog()

https://jqueryui.com/dialog/

標題:

<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css"> 
<script src="//code.jquery.com/jquery-1.9.1.js"></script> 
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script> 

的JavaScript:

$(function() { 
    $("#dialog").dialog(); 
}); 

HTML:

<div id="dialog" title="Basic dialog"> 
    <p>This is the default dialog which is useful for displaying information. The dialog window can be moved, resized and closed with the 'x' icon.</p> 
</div> 

Download

+0

這個不需要插件 – user3214269

+0

你是要求通知我嗎? – zzlalani

+0

這裏是下載鏈接http://jqueryui.com/download/ – zzlalani