admin管理员组文章数量:1315831
I'm trying to open a Bootstrap Modal while changing the URL displayed in the browser's navigation bar. The user is not actually going to a different page, however when the Modal is open the URL will be different. Facebook does this with their URLS when you open photos, pinterest when you open pins, instagram, etc. What's the trick?
Thanks! (basic skills here)
I'm trying to open a Bootstrap Modal while changing the URL displayed in the browser's navigation bar. The user is not actually going to a different page, however when the Modal is open the URL will be different. Facebook does this with their URLS when you open photos, pinterest when you open pins, instagram, etc. What's the trick?
Thanks! (basic skills here)
Share Improve this question asked Nov 7, 2013 at 4:10 JamesJames 4781 gold badge7 silver badges18 bronze badges 1- 1 possible duplicate of Change the URL in the browser without loading the new page using JavaScript – Dennis C Commented Nov 7, 2013 at 4:34
1 Answer
Reset to default 9You want to take a look at HTML5 pushState(). Check out this article.http://diveintohtml5.info/history.html
本文标签: javascriptModal URL ChangeStack Overflow
版权声明:本文标题:javascript - Modal URL Change - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741988093a2408803.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论