Cordova 如何使用window.open方法从windows phone应用程序打开html文件

Cordova 如何使用window.open方法从windows phone应用程序打开html文件,cordova,windows-phone-8,window.open,Cordova,Windows Phone 8,Window.open,您好,请告诉我如何使用window.open方法从phonegap项目打开html文件。我试过这个 var ref = window.open('http://google.co.in', '_blank', 'location=yes',"width=50,height=50"); 我可以从网上打开任何文件。但是,如果我想从我的phonegap项目中打开html文件,那么我该怎么做呢?suposse我想从路径为/www/start.html的项目中打开start.html,那么我应该在ope

您好,请告诉我如何使用window.open方法从phonegap项目打开html文件。我试过这个

var ref = window.open('http://google.co.in', '_blank', 'location=yes',"width=50,height=50");

我可以从网上打开任何文件。但是,如果我想从我的phonegap项目中打开html文件,那么我该怎么做呢?suposse我想从路径为/www/start.html的项目中打开start.html,那么我应该在open方法的url中包含哪些内容

您是否尝试过在没有
http://
前缀的情况下输入html文件名?即只是
window.open('.html'
yes..i尝试过..url的给定错误。您是如何加载第一个html(index.html)的应用程序中的文件?是存储在本地(手机中)还是从服务器加载?我尝试使用window.open('start.html');再次使用window.open('/www/start.html'),但没有人在工作。应用程序如何加载第一页?起始页的名称和位置是什么?