FitNesse - Open “new” window on click of hyperlink
问题 Could anybody enlighten me as to how can one open " new / separate " window on click of hyperlink image in FitNesse page? (currently it opens in the same window). Thanks 回答1: We have to add code like given below: !- <script language="javascript" type="text/javascript"> function openwindow() { newwindow=window.open('http://www.google.com'); // open some window if (window.focus) { newwindow.focus() } return false; } </script> -! And below code for hyperlink: !- <a href="" onclick="return