Windows Phone 7 浏览器 - 单击链接时关闭灰色阴影 [英] Windows Phone 7 Browser - Turn off the gray shading when links are clicked
问题描述
对于 Windows Phone 7 浏览器,当用户单击链接时,它会以灰色矩形阴影显示大约 0.5 秒.这通常很好,但是,如果您有动态页面行为,例如,单击链接会更新 DOM,使链接不再可见,则在链接本身消失后,不透明的灰色矩形会留在屏幕上.>
这看起来很可怕!
有谁知道如何禁用此效果?
在你的 html 文件的 head 部分添加一个元标记.
它应该可以工作.
With the Windows Phone 7 Browser, when the user clicks a link, it is shaded with a gray rectangle for approximately 0.5 seconds. This is fine in generally, however, if you have dynamic page behaviour, for example, clicking a link updates the DOM so that the link is no longer visible, the opaque gray rectangle lingers on the screen after the link itself has gone.
This looks pretty horrible!
Does anyone know how to disable this effect?
Add a meta tag in you head section in you html file.
<meta name="msapplication-tap-highlight" content="no" />
It should work.
这篇关于Windows Phone 7 浏览器 - 单击链接时关闭灰色阴影的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!