Re: Highlighting words found in a keyword search

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50472
interpreted = N
texte = Search page:
Results page: [search db=notes.db&group1field=handle+pdate+ptime+notes&wogroup1datarq=[url][keywords][/url]&depdatesort=1&pdatetype=date&deptimesort=2] [founditems] [listwords delimiters= &words=[notes]] [showif [url][keywords][/url]^[url][word][/url]] [grep search=[word]&replace=[word][/grep] [/showif] [hideif [url][keywords][/url]^[url][word][/url]] [word] [/hideif] [/listwords] [/founditems] [/search]>'Lo all- > >Subject should say it all, but I'm wanting to highlight all of the words >found in the results of a user keyword search input. > >So far I have this, which will highlight if only 1 word is entered, but not >highlight at all if multiple words are entered: > >Search page: >
>
> > > > > > > > > > >
> > >Results page: >[founditems] >[ListWords Words=[notes]] >[showif [word]^[woGroup1data]]style=background-color:#ffff00;>[/showif][Convertchars][word][/Convertchar >s][showif [word]^[daword]][/showif] >[/listwords] >[/founditems] > >Ideas? > >Thanks, >GK > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ -- Sincerely, Kenneth Grome ------------------------------------------------------------- My programmers will write WebDNA code for you at $27 an hour! -------------------------------------------------------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Highlighting words found in a keyword search (Gary Krockover 2003)
  2. Re: Highlighting words found in a keyword search (Brian Fries 2003)
  3. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  4. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  5. Re: Highlighting words found in a keyword search (Rob Marquardt 2003)
  6. Re: Highlighting words found in a keyword search (Gary Krockover 2003)
  7. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  8. Re: Highlighting words found in a keyword search (andy mowrey 2003)
  9. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  10. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  11. Re: Highlighting words found in a keyword search (Rob Marquardt 2003)
  12. Re: Highlighting words found in a keyword search (Gary Krockover 2003)
  13. Re: Highlighting words found in a keyword search (WebCat @ Inkblot Media 2003)
  14. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  15. Re: Highlighting words found in a keyword search (marc@kaiwi.com (Marc Kaiwi) 2003)
  16. Re: Highlighting words found in a keyword search (WebCat @ Inkblot Media 2003)
  17. Re: Highlighting words found in a keyword search (WebCat @ Inkblot Media 2003)
  18. Re: Highlighting words found in a keyword search (Kenneth Grome 2003)
  19. Re: Highlighting words found in a keyword search (Gary Krockover 2003)
  20. Re: Highlighting words found in a keyword search (Gary Krockover 2003)
  21. Re: Highlighting words found in a keyword search (Christer Olsson 2003)
  22. Re: Highlighting words found in a keyword search (Rajeev Kumar 2003)
  23. Re: Highlighting words found in a keyword search (Stuart Tremain 2003)
  24. Re: Highlighting words found in a keyword search (Rajeev Kumar 2003)
  25. Re: Highlighting words found in a keyword search (Tim Robinson 2003)
  26. Re: Highlighting words found in a keyword search (Kenneth Grome 2003)
  27. Highlighting words found in a keyword search (Gary Krockover 2003)
Search page: Results page: [search db=notes.db&group1field=handle+pdate+ptime+notes&wogroup1datarq=[url][keywords][/url]&depdatesort=1&pdatetype=date&deptimesort=2] [founditems] [listwords delimiters= &words=[notes]] [showif [url][keywords][/url]^[url][word][/url]] [grep search=[word]&replace=[word][/grep] [/showif] [hideif [url][keywords][/url]^[url][word][/url]] [word] [/hideif] [/listwords] [/founditems] [/search]>'Lo all- > >Subject should say it all, but I'm wanting to highlight all of the words >found in the results of a user keyword search input. > >So far I have this, which will highlight if only 1 word is entered, but not >highlight at all if multiple words are entered: > >Search page: >
>
> > > > > > > > > > >
> > >Results page: >[founditems] >[ListWords Words=[notes]] >[showif [word]^[woGroup1data]]style=background-color:#ffff00;>[/showif][convertchars][word][/Convertchar >s][showif [word]^[daword]][/showif] >[/listwords] >[/founditems] > >Ideas? > >Thanks, >GK > > >------------------------------------------------------------- >This message is sent to you because you are subscribed to > the mailing list . >To unsubscribe, E-mail to: >To switch to the DIGEST mode, E-mail to > >Web Archive of this list is at: http://webdna.smithmicro.com/ -- Sincerely, Kenneth Grome ------------------------------------------------------------- My programmers will write WebDNA code for you at $27 an hour! -------------------------------------------------------------------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Kenneth Grome

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Bug Report, maybe (1997) HELP WITH DATES (1997) Couple of questions II (1999) credit card (1997) Slow Server (2005) Server crash (1997) WebCatalog can't find database (1997) item sorting (1997) Trouble with formula.db + more explanation (1997) Showing Results Alphabetically in Columns (top to bottom) (2002) os 8.5 (1999) Error Page? (1997) Summing fields (1997) Searching on 3 different fields (2003) Help!!!! (1997) CommandSecurity? (1997) [Announce]: Web server security and password protection (1997) Problems with [Applescript] (1997) Trouble with formula.db (1997) [OT] Creating HTML Emails (not using WebDNA) (2003)