Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-26-2006, 12:21 PM   PM User | #1
Avril
Regular Coder

 
Join Date: Nov 2005
Posts: 329
Thanks: 3
Thanked 19 Times in 19 Posts
Avril is an unknown quantity at this point
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
Avril is offline   Reply With Quote
Old 06-26-2006, 01:31 PM   PM User | #2
vwphillips
Senior Coder

 
Join Date: Mar 2005
Location: Portsmouth UK
Posts: 4,355
Thanks: 3
Thanked 458 Times in 445 Posts
vwphillips is a jewel in the roughvwphillips is a jewel in the roughvwphillips is a jewel in the rough
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.uk/

If my post has been useful please donate to http://www.operationsmile.org.uk/
vwphillips is offline   Reply With Quote
Old 06-26-2006, 07:43 PM   PM User | #3
Avril
Regular Coder

 
Join Date: Nov 2005
Posts: 329
Thanks: 3
Thanked 19 Times in 19 Posts
Avril is an unknown quantity at this point
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.
Avril is offline   Reply With Quote
Old 06-27-2006, 10:26 AM   PM User | #4
vwphillips
Senior Coder

 
Join Date: Mar 2005
Location: Portsmouth UK
Posts: 4,355
Thanks: 3
Thanked 458 Times in 445 Posts
vwphillips is a jewel in the roughvwphillips is a jewel in the roughvwphillips is a jewel in the rough
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.uk/

If my post has been useful please donate to http://www.operationsmile.org.uk/
vwphillips is offline   Reply With Quote
Old 06-27-2006, 11:38 AM   PM User | #5
Avril
Regular Coder

 
Join Date: Nov 2005
Posts: 329
Thanks: 3
Thanked 19 Times in 19 Posts
Avril is an unknown quantity at this point
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.
Avril is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:16 AM.


Advertisement
Log in to turn off these ads.