Post Reply 
Can you specify filter options in the literature.hpcalc.org URL?
11-05-2023, 07:52 PM
Post: #7
RE: Can you specify filter options in the literature.hpcalc.org URL?
(11-05-2023 06:53 PM)Eric Rechlin Wrote:  I don't want to parse the parameters from the URL in the GET method. I want to do it all on the client-side in JavaScript, without any excess page-reloading. So I used the hash (#). I chose to separate values from parameter names with a colon and separate individual parameter/value pairs with a slash.

I believe I have now implemented something that works. If any big problems appear in the behavior I may change the implementation (and therefore the URLs), but hopefully as it is now should work. I tested mostly in Firefox and did some quick checks in Chrome.

Eric,
That is awesome! Now I can just set the filters as needed and copy the updated URL.
Thank you very much for implementing this!

https://literature.hpcalc.org/#lang:English/model:42S
https://literature.hpcalc.org/#lang:Engl...tt-Packard
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Can you specify filter options in the literature.hpcalc.org URL? - Steve Simpkin - 11-05-2023 07:52 PM



User(s) browsing this thread: 3 Guest(s)