function f(){ window.open("test.html","","height=200,width=400,status=yes,toolbar=no,menubar=no,location=no"); } <a href="javascript:f()">open</a>