We touched on this in today’s meet-up but i realised my quick walk-through likely wouldn’t have helped most users. noting @JacobIO and others were interested in using the method I figured it might help to not have to carve the code out of aTbRef’s TBX just to get started. So, here I provide a demo site and the TBX used to generate it.
Note. HTML newbies should note that the HTML demo site cannot be used locally on your hard-drive due to sensible OS-level security restrictions to stop the unwary running ill-intentioned JavaScript code. To try the demo, either upload the unpacked folder to your web server or spin up a local server. The former will be easier for most non-expert users.
Files:
- The TBX—please read the TBX notes (not exported) which explain about the demo, before use: fuzzy-search-1.tbx (159.0 KB)
- The output demo site folder (zipped): fuzzy-search-demo-site.zip (9.6 KB)
[
corrected the ‘Note’ to make plain you can’t test the JavaScript functionality on you local h/d though you can open the HTML pages.]