IE for Windows Phone是否支持链接到页面的特定部分(即,名称或ID锚标签)? [英] Is linking to a particular part of a page (i.e. to name or id anchor tags) supported in IE for Windows Phone?

查看:55
本文介绍了IE for Windows Phone是否支持链接到页面的特定部分(即,名称或ID锚标签)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个网站,其中有一个词汇表,每个术语都标有 

Hi, I have a web site that has a glossary which each term labelled with 

<a name="myterm"></a>

如果我在该页面内链接,即使用顶部的字母索引"

If I link within that page i.e. from the 'alphabet index' at the top using 

<a href="#myterm">Link to myterm</a>

然后正常工作.但是,当从另一个页面链接时,即使用

then it works fine. However when linking from another page i.e. using

<a href="glossary.html#myterm">Link to myterm</a>

它只是链接到页面顶部.我尝试使用"id"而不是"name",但是行为没有变化.要查看此内容,请访问http://brendan.sdf-eu.org/fpiah/wp7/overview.html,然后单击带下划线的带下划线的链接之一(这些链接到术语表)

it just links to the top of the page. I have tried using 'id' rather than 'name' but with no change in behaviour. To see this go to http://brendan.sdf-eu.org/fpiah/wp7/overview.html and click on one of the dotted underlined links (these go to the glossary)

这在网络上并不是什么大问题,但是对于我嵌入在应用程序中的移动版本,它搞乱了导航...

This is not so much of a problem on the web, but for the mobile version I have embedded in an app, it messes up the navigation ...

推荐答案

在WP7 IE9浏览器中有一个已知的锚点错误.这里有一个可能的解决方法:
http://social.msdn .microsoft.com/forums/en-us/wpdevelop/thread/f2db2700-4f3c-4b38-9b57-43280cb1c60b

There is a known bug with anchors in the WP7 IE9 browser. There is a possible workaround here:
http://social.msdn.microsoft.com/forums/en-us/wpdevelop/thread/f2db2700-4f3c-4b38-9b57-43280cb1c60b

此问题已在WP8 IE10浏览器中修复.

The issue is fixed in the WP8 IE10 browser.


这篇关于IE for Windows Phone是否支持链接到页面的特定部分(即,名称或ID锚标签)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆