Disable cross button from the window.open popup
Disable title bar or cross button from the 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>
i开发者_开发问答 have tried doing many things,,but this is not working
wrong syntax - this will open a window
window.open('flows/Ad/test.xhtml',"_blank")
- possibly with parameterswindow.open('flows/Ad/test.xhtml', "_blank","top=200,left=300")
not possible to remove the [X] in any current browser unless you use divs
Take a look at jQuery UI dialog
精彩评论