Topic awaiting preservation: AJAX calls and breadcrumbs (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 02-18-2014 15:53
I have created a series of AJAX calls that load different results in one web page on my site. The results of each query update a div. My client asked for breadcrumbs to be able to navigate back through previous states of the page. |
Maniac (V) Mad Scientist with Finglongers From: Germany |
posted 02-18-2014 16:48
I believe the most straight forward way is to modulate the 'anchor' part of the url, ie. something after the #. |
Maniac (V) Mad Scientist From: Jacks raging bile duct.... |
posted 02-18-2014 21:08
I have not used the url hash before. I plan to now though. Thanks for the tip. |
Paranoid (IV) Inmate From: Madison, Indiana |
posted 02-23-2014 19:15
You can also use the path part of the URL. If you have a URL like http://my.domain.com/a/b/c/d/e/f and you have a directory structure on the site /a/b/, the server will use the file in /a/b and pass /c/d/e/f as an argument. It's been a while since I've used this, so I don't remember the details, but I know you can pass info to your page that way. |