Javascript web page search fuzzy

Soldato
Joined
22 Aug 2005
Posts
8,971
Location
Clydebank
Hi all 2 questions:

1. Is this possible?
2. How do I do it?


I have a html page (which will be viewed locally, from a CD ROM, i.e. not on a server) and this is basically an index, and this index is an alphabetically sorted list of names.

Clicking on the name will open an image with that nam being the first name in the image, and posibly another half a dozen names following it. (the list is like a list of the top word from each page in a dictionary IYSWIM)

I want to have a search box which will allow the user to search for a name from the list and then highlight it or link to it etc..

BUT, it needs be fuzzy as the list of names is actually a top level index


i.e.

say the list is

Bateman
Brown
Chaplin
Charles
Doakes
Drisco


If I want to find the name 'Crawford' I should be looking at the image associated with 'Charles' because that's where it should appear.

Anyone know how to do this?
 
Back
Top Bottom