jquery UI 弹出框
2015-07-17 11:04:38
1 <div id="reg"></div> 2 <script type="text/javascript"> 3 var dg = $("#reg").dialog( 4 { 5 autoOpen:false, 6 // modal:true, 7 show:"blind", // clip,drop,explode,fold,puff,slide,scale,size,pulsate 8 position: {at: "right bottom"}, 9 title:"您需要注册成为正式账户", 10 buttons: {"注册" : function () {conlole.log("haha")}} 11 }); 12 if (1) { 13 dg.dialog("open"); 14 } 15 </script>