Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Here's an interesting post that I saw toda - check the gallery This website is using WordPress, now if you notice the image URL changes however we can still see the javascript slide effect.

If it was a javascript slideshow then it shouldn't have changed the URL. This makes me think that how are they achieving this.

share|improve this question
add comment

1 Answer 1

Not sure what they're using, but it's possible to change the URL in most modern browsers with JavaScript without refreshing the page and without using the hashtag, using the pushstate, popstate, and replacestate methods.

share|improve this answer
    
They are indeed using the replaceState method. The JS being used is here: cdn.b5media.com/hubs-v3/js/b5.js . Also, yes, the site is running WordPress. –  Otto Aug 10 '11 at 22:49
    
Thanks a lot for the help! Didn't know that we could achieve the same using JS –  wprocks Aug 12 '11 at 8:44
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.