Visual studio 2012 要在窗口应用程序中添加iframe吗
我只想在default.html中添加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
<!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中存在脚本错误。。。你有没有试过用一种新的方法来代替?