Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
9 views

How to ignore popstate initial load, working with pjax

I have been trying to get the forward an back browser buttons to work on a small site using pjax and have come up with the following code to handle class changes and fading in and out the various ...
3
votes
1answer
176 views

pushState() and popState(): manipulating browsers' history

I am working on a small project in which I want to create an Ajax-style website. Content is loaded with jQuery's load(). As some of you know, the down side of this is that the URL does not change ...
0
votes
0answers
18 views

What is the ideal way to handle window.onpopstate for all browsers?

For chrome the event fires on page load, but in firefox it fires the rightway, only when you press the backward or forward button. So how to write a script that works fine for all browsers?
0
votes
1answer
28 views

jQuery - add ticker to DOM after ajax call

I'm using one of the jQuery tickers within my new project and pages are loaded using the HTML5 History API (pushState and popState). Once the page content has been loaded using jQuery.getJSON() I get ...