Windows Phone 7上的Web书签自定义主页/图标?

时间:2011-04-13 20:34:54

标签: windows-phone-7 tile

是否可以在Windows Phone 7上为网络书签设置自定义主页图块/图标?目前,当您在网页上选择“pin to start”时,生成的主页图块只是一个屏幕截图。有没有办法让它成为一个自定义图标(就像你在iPhone上一样)?

4 个答案:

答案 0 :(得分:4)

不。您无法更改屏幕截图图像 至少还没有。谁知道未来的更新会发生什么。

答案 1 :(得分:1)

有一种解决方法。您创建一个覆盖整个网站的图像,并提示用户“固定此网站”#34;。这有点黑客,但似乎适用于WP7& 8 http://blogs.windows.com/windows_phone/b/wpdev/archive/2012/10/19/creating-a-custom-tile-to-link-to-your-website.aspx

这是我放在一起的一个工作示例: http://cdpn.io/jlEur

答案 2 :(得分:0)

如果您不介意重定向,只需找到一个可以直接在Windows Phone浏览器中使用的在线工具:

http://cheller.info/wpt/

它的源代码: https://github.com/fedecheller/WPCustomWebTiles

在Phone Developer Blog中找到“fedecheller”。 http://blogs.windows.com/windows_phone/b/wpdev/archive/2012/10/19/creating-a-custom-tile-to-link-to-your-website.aspx

这不是最好的解决方案,如果您只需编辑手机上的图标就会更好。 您可以:在Windows Phone Marketplace中查找名为“Wiztiles”的工具。

答案 3 :(得分:0)

在Windows Phone 8-10上,您可以使用 browserconfig.xml 文件轻松完成

<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
  <msapplication>
    <tile>
      <square70x70logo src="images/smalltile.png"/>
      <square150x150logo src="images/mediumtile.png"/>
      <wide310x150logo src="images/widetile.png"/>
      <square310x310logo src="images/largetile.png"/>
      <TileColor>#009900</TileColor>
    </tile>
  </msapplication>
</browserconfig>

在HTML文件中

<head>
<meta name="msapplication-config" content="browserconfig.xml" />
</head>

更多信息here