Html5 History Api - Pushstate From A Domain To A Subdomain
I have a website as the landing and information page to a web portal type of application. I need the link that goes to the portal to set off an animation that beautifully transitio
Solution 1:
It can't be done. This is by design. There are no exceptions.
From the Mozilla pushState documentation:
Baca Juga
- Ajax With History.pushstate And Popstate - What Do I Do When Popstate State Property Is Null?
- Is There A Javascript Api To Browser History Information (limited To Current Domain)
- How To Use The History Api Or History.js To Change The "active" Link Appropriately When The Page Is Refreshed Or When The Back Button Is Pressed?
The new URL must be of the same origin as the current URL; otherwise, pushState() will throw an exception.
Post a Comment for "Html5 History Api - Pushstate From A Domain To A Subdomain"