jquery UI 弹出框

时间:2022-07-25 16:26:41

2015-07-17 11:04:38

 <div id="reg"></div>
<script type="text/javascript">
var dg = $("#reg").dialog(
{
autoOpen:false,
// modal:true,
show:"blind", // clip,drop,explode,fold,puff,slide,scale,size,pulsate
position: {at: "right bottom"},
title:"您需要注册成为正式账户",
buttons: {"注册" : function () {conlole.log("haha")}}
});
if (1) {
dg.dialog("open");
}
</script>