![](/img/trans.png)
[英]How to disable the maximize button in window.open popup for chrome?
[英]Disable cross button from the window.open popup
禁用window.open中的標題欄或十字按鈕
ui:fragment rendered="#{not empty docProd.url}" >
<script>window.open('flows/Ad/test.xhtml','center', "_blank", "titlebar=0");
</script><p:commandButton value="close"/>
</ui:fragment>
我嘗試過很多東西,但這不起作用
錯誤的語法 - 這將打開一個窗口window.open('flows/Ad/test.xhtml',"_blank")
- 可能帶參數window.open('flows/Ad/test.xhtml', "_blank","top=200,left=300")
除非使用div,否則無法刪除任何當前瀏覽器中的[X]
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.