Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.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
Visual studio 2012 要在窗口应用程序中添加iframe吗_Visual Studio 2012_Microsoft Metro_Winjs - Fatal编程技术网

Visual studio 2012 要在窗口应用程序中添加iframe吗

Visual studio 2012 要在窗口应用程序中添加iframe吗,visual-studio-2012,microsoft-metro,winjs,Visual Studio 2012,Microsoft Metro,Winjs,我只想在default.html中添加iframe,但它无法显示白色页面 这是我的密码 <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>FinderToday</title> <!-- WinJS references --> <link href="//Microsoft.WinJS.2.0/cs

我只想在default.html中添加iframe,但它无法显示白色页面

这是我的密码

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>FinderToday</title>

    <!-- WinJS references -->
    <link href="//Microsoft.WinJS.2.0/css/ui-dark.css" rel="stylesheet" />
    <script src="//Microsoft.WinJS.2.0/js/base.js"></script>
    <script src="//Microsoft.WinJS.2.0/js/ui.js"></script>

    <!-- FinderToday references -->
    <link href="/css/default.css" rel="stylesheet" />
    <script src="/js/default.js"></script>
</head>
<body> 

    <p><a href="ms-appx:///page2.html">Go to page 2</a></p>
    <p><a href="http://www.bing.com">Search the web</a></p>

    <iframe src="http://maps.bing.com" style="width:1366px; height: 768px"></iframe>
</body>
</html>

今天的FinderToday


您针对的是什么版本的Windows—Windows 8还是Windows 8.1

如果您的目标是Windows 8.1,请使用
x-ms-webview
元素,而不是
iframe


您使用哪个浏览器打开此文件“Defaul.html”?不在浏览器中,在Windows metro appsokay中亲爱的。请点击此链接,希望获得帮助。。。如果您只是尝试以相同的方式在独立网页中承载网站,那么它是否有效?最有可能的是iframe中存在脚本错误。。。你有没有试过用一种新的方法来代替?