2016-01-20 62 views

回答

0

我終於找到了一種方法來做到這裏是我使用的代碼。

var gui = require('nw.gui'); 。

在你對HTML鏈接標籤,創建一個id = 「GoToWebsite」

的document.getElementById( 'GoToWebsite')的onclick =函數(){gui.Shell.openExternal('HTTP:// WWW .nickzom.org');};