日期:2014-05-17 浏览次数:20402 次
注:前面已引入js
//<script src="../../Js/ITS_js/lhgdialog/lhgcore.min.js" type="text/javascript"></script>
//<script src="../../Js/ITS_js/lhgdialog/lhgdialog.min.js" type="text/javascript"></script>
function showDiv(){
var url="./WebFace/OtherAdmin/CompanyFoodBase_Add.aspx?type=add";
dlg =new J.dialog({ bgcolor:'#000',btnBar:false,title: '餐饮添加', page:url,cover:true,width:960, height:750,opacity:0.7});
dlg.ShowDialog();//这是弹出
}
//按钮调用:<input type="button" value="弹出" onclick="javascript:showDiv();" />
//现在我想在层里的页面加按钮::<input type="button" value="隐藏" onclick="隐藏的方法" />?