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:

Problems deleting when a search field is blank... (1998) 09:45:00 -> 9.75 (2001) Size of a folder? (2003) TaxTotal Problem (1997) {middle} and variables (2002) image magick (2003) How much is too much? I can never remember the answer. (2002) Help! WebCat2 bug (1997) shownext & math (1997) WebCat2b15MacPlugin - [protect] (1997) redirect with frames (1997) Re:Emailer and encryption (1997) How do I pass [cart] when user clicks back (2000) FRAMES and CART tags problem??!? (1999) Error Lob.db records error message not name (1997) unable to launch acgi in WebCat (1997) Problems with dbcatalog.exe (1997) [OT] DNS Problems (2004) RE: E-mailer error codes (1997) Database wiped clean (2005)