Skip to content

Page title being changed to the # hash-tag within IE8 #514

Open

Description

@jodriscoll

As the title states, when a user is viewing the page where the slideshow is active, once the hashtag is appended to the URL, it also updates the title for the page. This results in a user favoriting a page with the title "#&panel1-1" instead of the intended title the page is given within the head tag.

title-bar-issue

Also, I noticed that at times, the title has a duplicate # hash tag result. Not sure if this is a bug, but as you can see by the address bar, only a single # hashtag is present within the URL.

Activity

  1. Mottie commented on Mar 20, 2013

    @Mottie
    Contributor

    Wow weird that I've never seen that before... it seems to happen in IE10 as well.

    I'll look into this, but since it looks like your site is live, I think the best solution would be to just disable the hash tags by setting the hashTags option to false.

  2. Mottie commented on Mar 20, 2013

    @Mottie
    Contributor

    It looks like it's an IE bug that only occurs when there is embedded flash video on the page (ref).

    The only solution, for now, is to set the page title after the page loads:

    $(window).load(function(){
      setTimeout(function() {
        window.document.title = "Some title";
      }, 1000);
    });
  3. jodriscoll commented on Mar 21, 2013

    @jodriscoll
    Author

    Darn! I wonder if their is a way to capture the title tag from the head and have it rewrite once the anythingSlider has been created. Also, one click, it runs a function that established the title tag once again to prevent the hashtag appended text from changing the title within IE.

    Thanks for the advice, I actually found the same article yesterday but wanted to hear from your end before I implemented it.

    Thanks!

  4. Mottie commented on Mar 21, 2013

    @Mottie
    Contributor

    Go for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions