history.js Questions
13
Solved
I've read many things about react-router v4 and the npm history library to this point, but none seems to be helping me.
My code is functioning as expected up to the point when it should navigate an...
Caddish asked 22/3, 2017 at 2:37
12
Solved
So basically i am having a problem in using the history library in react.
Is it because of the latest version should i try to downgrade the history version but as the error states that Support for...
Brister asked 2/4, 2019 at 4:4
3
Solved
My project is suddenly having a build error. My current repo still has no problem, it only happens when I clone the repo to a new folder and install the package again then do npm run build.
So I am...
Khania asked 10/2, 2022 at 3:2
8
Solved
On a button click, I am getting the URL changed by doing history.push()
import createHistory from 'history/createBrowserHistory'
const history = createHistory()
.
. some code
.
history.push(...
Vostok asked 12/3, 2019 at 20:47
1
I currently have a button that onClicks to history.goBack but I want it to direct the user to another path if there isn't a previous page (in the case the user visits the page directly by typing in...
Jinnyjinrikisha asked 8/1, 2017 at 1:59
4
Solved
I am writing a single page javascript application using the HTML5 History API. The application loads content via Ajax and internally maintains state information on the foreground screen using a scr...
Toxoplasmosis asked 18/7, 2012 at 19:6
3
I have page that is doing the routing on clientside, using history API & push/popstate. Which works just fine on all the modern browsers. (search engines will be supported by node.js prerendere...
Ung asked 2/5, 2014 at 8:15
6
Solved
Why
window.addEventListener('popstate', () => alert('pop'));
window.history.pushState(null, '', '/foo');
does not alert pop ?
NB: Testing on latest chrome
--
According to MDN:
A popstate even...
Romantic asked 7/6, 2012 at 22:39
5
Solved
I've started to test History.js. After understanding how it works and that there is no popstate, instead there is statechange. I'm looking for a way to differ when the back button of the browser ha...
Federation asked 21/11, 2011 at 11:29
3
History API is now supported in every popular browser. It seems there's no need for hash fallbacks, _escaped_fragment_ tricks or other workarounds anymore. Cool libraries from 2013 like History.js ...
Fossiliferous asked 10/8, 2016 at 17:3
1
I say I have a section of a page like this (rough HTML to give an idea):
www.mydomain.com/contact-us
<div class="regional-offices">
<div class="south-west">
<a href="#south-west"...
Karalee asked 11/2, 2016 at 14:8
2
Solved
For example,
If I use the search bar from "www.site.com" I see "www.site.com/search", which is fine.
If I use the search bar from "www.site.com/events/" I see "www.site.com/events/search", which...
Krohn asked 6/4, 2012 at 15:23
1
I am using JQuery History.js plugin to enable History API in HTML5 browsers and emulate in HTML4 browsers. I am using Ajaxify script to implement this plugin. I changed this script a little as show...
Hypochromia asked 23/7, 2015 at 17:6
5
Solved
I am loading the page via Ajax. When the user clicks a link the page is being loaded AJAX successfully, but when the user click the back button the pages reloads the initial page. so the scenario i...
Heavily asked 25/12, 2012 at 5:41
1
It appears that this line in the statechange event:
$('#content').load(State.data.home_page);
...is causing the same page to load multiple times which is resulting in glitches on my site. What ca...
Trump asked 31/1, 2015 at 2:35
3
My code was working until I started using ng-include. Now, everytime I'll go to a page that uses this directive, I'm getting stuck on the page. The back button has stopped working and you stay fore...
Wellmeaning asked 16/1, 2014 at 11:0
2
Solved
I'm having a little trouble using history.js with jQuery. I just wanted to make a navigation set work with the back button (which they do seem to be doing quite nicely). However. When I click the b...
Alcala asked 25/11, 2012 at 16:36
1
Solved
I have ajax calls made in jquery function which i call with onClick options placed on divs.
example:
<div class='basic' onClick='example( <?php echo numberIwant ?> )'> example </div...
Mettah asked 9/8, 2014 at 9:5
2
I'm a little confused about how History.js works at page-load. I've done a few experiments but the results seem indeterministic.
My website is a search engine and the query is stored in the URL p...
Adversaria asked 29/7, 2013 at 18:0
3
$(window).bind('statechange',function(){
var State = History.getState(),
url = State.url;
});
In the following function, url returns the current URL. What I'm looking for is, within that functi...
Pattison asked 8/11, 2012 at 22:12
2
I am using the history.js plugin here: https://github.com/browserstate/history.js/ for handling HTML5 History in my application. And I want to handle both HTML5 and HTML4 versions (using the hash f...
Sherbrooke asked 11/2, 2014 at 23:18
2
In an OSS web app, we have JS code that performs some Ajax update (uses jQuery, not relevant). After the page update, a call is made to the html5 history interface History.pushState, in the followi...
Luhey asked 17/6, 2012 at 4:24
3
Solved
I am using history.js to handle back button. In history.js statechange is firing whenever i do a pushstate. Why?
Guillema asked 5/1, 2012 at 14:52
1
I am having a strange problem in Chrome and Safari using History.js from https://github.com/browserstate/history.js/
If I click on several different ".node" items and then look at my browsers hist...
Perren asked 17/11, 2013 at 18:7
1
Solved
I can not get the html4Mode option to work for me.
I am using the ajaxify script (https://github.com/browserstate/ajaxify) on a very simple two page app. Everything works fine in html5 capable bro...
Teflon asked 11/6, 2013 at 10:58
1 Next >
© 2022 - 2024 — McMap. All rights reserved.