IE appends anchor name to title bar
-
Wednesday, September 19, 2007 12:14 AMI have an html page with flash objects embedded into it and try to access the page with some anchor name appended to it, IE appends the anchor name also to the page title. Is this by design ao a bug? Is there any workaround for not displaying anchor in Title bar.
Here is the sample code:
<html>
<head>
<title>My Test Page</title></head>
<body>
<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/kKo9oUAFQ_A"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/kKo9oUAFQ_A" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
</body>
</html>
Save this code as test.html in some folder and then access the page from IE.
1. C:\TestFolder\test.html ---------- Title shows correctly.(My Test Page)
2. C:\TetsFolder\test.html#123 ----- #123 gets appended to title.(My Test Page#123)
Similarly if you keep on adding flash objects to the page you will get as many anchor names appended to the title bar.(My Test Page#123#123....... and so on).
Firefox displays the title correctly in both the scenarios.
Thanks
Abhilash
All Replies
-
Wednesday, September 19, 2007 12:32 AM
I am also having the same problem. IE display the incorrect character in the Title bar, can anybody help??
-
Thursday, December 13, 2007 8:06 AMi have the same problem haha i was looking for a solution and i ended in this forum... we need some help here... anyone?
-
Thursday, December 13, 2007 2:16 PMNice Bug!, I can repro this in IE7, but not in IE6.
-
Thursday, December 13, 2007 3:54 PMdo you have a solution for this? im using IE7
-
Saturday, December 15, 2007 8:13 AMThe only possible way is to rewrite the title on page render using javascript.
-
Saturday, December 15, 2007 1:04 PM
ARRRGSSSSSSS ok ok ..... but how the heck can i do that ???? geez.... u're just saying but not answering how..... -
Thursday, February 28, 2008 11:26 AMCode Snippet
<script type="text/javascript">
// <![CDATA[
window.onload = function()
{
document.title = "Your site name here";
}// ]]>
</script> -
Thursday, February 28, 2008 3:30 PMThis bug has been identified as bug 312 for IE7 here:
http://webbugtrack.blogspot.com/2007/12/bug-312-anchor-links-klobber-page-title.html
Hopefully IE8 will fix this. -
Saturday, March 01, 2008 8:25 PMthanks for the info dude.. if i know any update about this ill post it, cya
-
Thursday, March 27, 2008 7:26 PM
I am having this problem, I have tested with Safari and Foxfire and they work fine. Only IE7 doesn't function. -
Tuesday, August 26, 2008 4:00 PMThis is bug FP-240 at Adobe:
http://bugs.adobe.com/jira/browse/FP-240
Vote for the bug there if you want to see it fixed. -
Tuesday, September 08, 2009 10:23 AMHey guys,
In the interim why not just add some underscores to the end of your doc title ie; "index.htm _________somewords__________" that way it'll push the anchors off screen:
check out my site and see it work by clicking on the images at the bottom of the home page that has a tonne of remote page anchors:
www.aaronscgi.net
Could this affect the results with search engines?
- Roger


