View Full Version : Know a simple code to find a name in directory page

06-26-2006, 01:21 PM
My JavaScript is pretty elementary, but have been compiling a directory. Does anyone know of a simple code that will find a name on each page or several pages in the same file? Everything I have found so far is too elaborate and not explained clearly.

Thanks in advance!


06-26-2006, 02:31 PM

depends on what you mean by find
what you want to do with it
and if the 'name' is identified in any way or is any word.

06-26-2006, 08:43 PM
To explain -
A code which highlights any particular word that one is searching for on the page in a different colour, like with the "find - find again" forms one sees in many word-processors, or something similar. I have three scrolling divs on each page with one alphabet per div.

Thank you.

06-27-2006, 11:26 AM
This is not a trivial task

suggest you investigate google search

but did this a while ago


06-27-2006, 12:38 PM
Cheeeesus! I took a look at it. Enough to deter even the stout-hearted! It seems easier to search for pages than words, huh?

Will go through it, though, and try, try, try again.

Thanks a lot for your unwavering help, Vic.