开发者

Page title replaced in IE if fragment identifier set

In IE, with Flex application embedded, changing page location with JS like that:

document.location.href = "#someFragmentIdentifier";

causes change of page title to "#someFragmentIdentifier". I've read that the cause of that was supposed to be integration of Flex application with browser navigation, so I disabled it at the Flex compiler properties screen, however it didn't fix anything. Could anybody help me by pointing some working solution to this unwanted behavior.

Thanks.

PS: You can easily reproduce that by starting your Flex application and changin开发者_StackOverflow中文版g current URL by hand so it contains fragment identifier and then refreshing the page.


We've run into this using various ajax toolkits, including MS's.

It is not limited to Flex, flash, or any Adobe tech. It is purely a browser issue.

Unfortunately, the ONLY workaround we've found that was worthwhile involved "changing the title with javascript".


There's a bug in Adobe's bug tracker with various workarounds. I guess one of them should work... http://bugs.adobe.com/jira/browse/FP-240

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜