Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/80.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript HTML5/JS在Windows Phone上的应用_Javascript_Html_Windows Phone 8_Cross Platform - Fatal编程技术网

Javascript HTML5/JS在Windows Phone上的应用

Javascript HTML5/JS在Windows Phone上的应用,javascript,html,windows-phone-8,cross-platform,Javascript,Html,Windows Phone 8,Cross Platform,我正在用HTML和JS开发一个移动应用程序,适用于Android和iOS,效果非常好。但对于Windows phone,我遇到了一些问题(第一张图片只是为了确保使用好的模板) 在这里之前,我认为这没什么问题,我只是在项目中复制我所有的HTML、JS和图像,然后启动emulator,我遇到了一些问题: render.addITwitter("//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fpage

我正在用HTML和JS开发一个移动应用程序,适用于Android和iOS,效果非常好。但对于Windows phone,我遇到了一些问题(第一张图片只是为了确保使用好的模板)

在这里之前,我认为这没什么问题,我只是在项目中复制我所有的HTML、JS和图像,然后启动emulator,我遇到了一些问题:

render.addITwitter("//www.facebook.com/plugins/like.php?href=https%3A%2F%2Fwww.facebook.com%2Fpages%2FTo-Night%2F1405825763018380%3Fref_type%3Dbookmark&width&layout=standard&action=like&show_faces=true&share=true&height=80&appId=1434429670175105", "facebookIframe", "no", "0", "true", "horizontal"); 
render.addITwitter("https://platform.twitter.com/widgets/tweet_button.html?text=I%20am%20using%20this%20application%20:%20To%20Night%20", "twitterIframe", "no", "0", "true", "horizontal");

对于这张图片,我打电话给谷歌地图来显示地图

我真的不明白为什么它不起作用。Javascript是在xaml中启用的,当我在模拟器上使用Internet explorer时,它就可以工作了

有人有主意吗


非常感谢

你能展示一些代码吗?我看不出你在哪里导航,页面应该显示什么我只是编辑了第三张图片的代码,第二张图片很长,但我只是做了一些解释。你可以用Fiddler之类的工具调试http请求,以确保对google maps的请求被正确创建,并按照你的预期运行。