none
IE appends anchor name to title bar

    Question

  • I 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

    Wednesday, September 19, 2007 12:14 AM

All replies

  • I am also having the same problem. IE display the incorrect character in the Title bar, can anybody help??

    Wednesday, September 19, 2007 12:32 AM
  • i 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 8:06 AM
  • Nice Bug!, I can repro this in IE7, but not in IE6.



    Thursday, December 13, 2007 2:16 PM
  • do you have a solution for this? im using IE7

     

    Thursday, December 13, 2007 3:54 PM
  • The only possible way is to rewrite the title on page render using javascript.
    Saturday, December 15, 2007 8:13 AM
  •  

    ARRRGSSSSSSS ok ok ..... but how the heck can i do that ???? geez.... u're just saying but not answering how.....
    Saturday, December 15, 2007 1:04 PM
  • Code Snippet

    <script type="text/javascript">
    // <![CDATA[
     window.onload = function()
     {
      document.title = "Your site name here";
     }

    // ]]>
    </script>

     

     


    Thursday, February 28, 2008 11:26 AM
  • This 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.
    Thursday, February 28, 2008 3:30 PM
  • thanks for the info dude.. if i know any update about this ill post it, cya

     

    Saturday, March 1, 2008 8:25 PM
  •  

    I am having this problem, I have tested with Safari and Foxfire and they work fine. Only IE7 doesn't function.
    Thursday, March 27, 2008 7:26 PM
  • This 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, August 26, 2008 4:00 PM
  • Hey 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
    Tuesday, September 8, 2009 10:23 AM