Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Nov 2005
    Posts
    329
    Thanks
    3
    Thanked 19 Times in 19 Posts

    Know a simple code to find a name in directory page

    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!

    Avril

  • #2
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,536
    Thanks
    3
    Thanked 513 Times in 500 Posts
    hmm

    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.
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #3
    Regular Coder
    Join Date
    Nov 2005
    Posts
    329
    Thanks
    3
    Thanked 19 Times in 19 Posts
    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.

  • #4
    Senior Coder
    Join Date
    Mar 2005
    Location
    Portsmouth UK
    Posts
    4,536
    Thanks
    3
    Thanked 513 Times in 500 Posts
    This is not a trivial task

    suggest you investigate google search

    but did this a while ago

    http://www.vicsjavascripts.org.uk/Se...rchForText.htm
    Vic

    God Loves You and will never love you less.

    http://www.vicsjavascripts.org/Home.htm

    If my post has been useful please donate to http://www.operationsmile.org.uk/

  • #5
    Regular Coder
    Join Date
    Nov 2005
    Posts
    329
    Thanks
    3
    Thanked 19 Times in 19 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •