Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jodriscoll opened this issue Mar 20, 2013 · 4 comments
Open

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

jodriscoll opened this issue Mar 20, 2013 · 4 comments
Labels

Comments

@jodriscoll
Copy link

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.

@Mottie
Copy link
Contributor

Mottie commented Mar 20, 2013

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.

@Mottie
Copy link
Contributor

Mottie commented Mar 20, 2013

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);
});

@jodriscoll
Copy link
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!

@Mottie
Copy link
Contributor

Mottie commented Mar 21, 2013

Go for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants