亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

showmodaldialog 替換程window.open怎么寫jsp

showmodaldialog 替換程window.open怎么寫jsp

兼容并包 2017-11-20 17:51:37
求急, 最佳比采納
查看完整描述

1 回答

?
qq_20151109_0

TA貢獻22條經驗 獲得超11個贊

你想模式化打開一個界面,可以試試layer,window.open寫的話是沒有模式化的,而且回傳也是個問題,當然你非要用window.open的話就是window.open(url)這樣了,不知道你是不是這個意思

查看完整回答
反對 回復 2017-11-21
  • 兼容并包
    兼容并包
    能上代碼不?
  • qq_20151109_0
    qq_20151109_0
    window.open('url', 'newwindow',"height=" + height + ", width=" + width + ", top="+ t +",left=" + l + ", toolbar=no, menubar=no, scrollbars=yes, resizable=no,location=no, status=no");這是window.open的,layer的: layer.open({ type:2, area:['1000px','380px'], title:'提示', zIndex:500, maxmin: true, scrollbar:false, shadeClose:true, content:'url' }); layer 需要添加js layui.js,具體你可以找下api,很簡單
  • 1 回答
  • 0 關注
  • 1809 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號