Related to a previous post, but I've done enough dabbling to better 
formulate a question. At http://tullyhansen.github.io/botDB/nobel3ed.html, 
I have cobbled together (c/- answers here and random StackExchange posts) 
some sort-of working facet filtering based on parameters from URL query 
string, but it's a mess. URLs with query strings will seemingly work once 
http://tullyhansen.github.io/botDB/nobel3ed.html?deceased=yes but if I then 
'Reset All Filters' that same URL with query ceases working until I clear 
cache. My question, then:

Given an Exhibit 3 site residing at baz.com/ex.html containing two facets 
with id="foo" & id="bar" respectively, what is the simplest way to make 
baz.com/ex.html?foo=yellow&bar=blue filter the Exhibit down to only yellow 
foos and blue bars on load?


I accept this may be more a JS/jQuery question, but I've found enough 
evidence here and elsewhere to suggest it should be possible to give up on 
the idea just yet. Elsewhere on here there is mention of 'native support 
for query strings in the next version of Exhibit', and Travis McCauley 
seems to manage it here – http://travismccauley.info/shalu/?year=1810 – 
with (I think) Exhibit 2. However, attempting to imitate his method as best 
I can, I get stuck at window.database.loadDataLinks throwing som kind of 
error. Hints or examples greatly appreciated!

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to simile-widgets+unsubscr...@googlegroups.com.
To post to this group, send email to simile-widgets@googlegroups.com.
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/d/optout.

Reply via email to