Welcome Guest, Not a member yet? Register   Sign In
codignighter ajax history
#4

(This post was last modified: 01-09-2017, 06:58 AM by spjonez.)

https://developer.mozilla.org/en-US/docs...istory_API

Push URL's or hashes into the history API each time you want to fake a page change. It's horribly out of date at the moment but I made an addon for CI that's very similar to pjax. It's called Cinder. I'll try to sync it soon the latest internal build is nearing the first final release and includes a lot of changes. Sorting out garbage collection of plugins bound to partials at the moment. Until I update it I wouldn't use the build I linked but if you look at app.js and conduit.js in private/controllers/system/js you'll see how I do it.
Reply


Messages In This Thread
codignighter ajax history - by Marcel - 01-09-2017, 01:14 AM
RE: codignighter ajax history - by ivantcholakov - 01-09-2017, 02:24 AM
RE: codignighter ajax history - by Marcel - 01-09-2017, 02:28 AM
RE: codignighter ajax history - by spjonez - 01-09-2017, 06:49 AM
RE: codignighter ajax history - by skunkbad - 01-09-2017, 04:43 PM
RE: codignighter ajax history - by Marcel - 01-11-2017, 05:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB