highlighting search terms
-
Hi. You guys know the type of functionality in CP where if you search for things in articles you can specify if you want the search terms to be highlighted in the results, right? Does anyone know of an article or source code that does something like that? I need to get it working in my project. Thanks alot! M
-
Hi. You guys know the type of functionality in CP where if you search for things in articles you can specify if you want the search terms to be highlighted in the results, right? Does anyone know of an article or source code that does something like that? I need to get it working in my project. Thanks alot! M
One way to do this would be to have a javascript function which would read the page and wrap the relevant text in spans (set the style of the span to have a background colour).
Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.
-
Hi. You guys know the type of functionality in CP where if you search for things in articles you can specify if you want the search terms to be highlighted in the results, right? Does anyone know of an article or source code that does something like that? I need to get it working in my project. Thanks alot! M
OK - I've had a quick look round and found this example: http://www.nsftools.com/misc/SearchAndHighlight.htm[^]
Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.
-
OK - I've had a quick look round and found this example: http://www.nsftools.com/misc/SearchAndHighlight.htm[^]
Please visit http://www.readytogiveup.com/ and do something special today. Deja View - the feeling that you've seen this post before.