Page 1 of 1

Best way to turn off hit highlighting

Posted: Thu Sep 20, 2001 12:25 pm
by Mr. Bigglesworth
I'm running a query and highlighting the search term in my vortex page results.

However, I have a javascript function I later call, into which I pass the search term, and I'd like to disable highlighting completely when passing in the function parameters (to avoid the <B> </B> tags), and am not sure the best way to go about this.

Would <fmtcp query "%m" $mmfmt> work? I've tried it, and it seems to work, but not every time.

Perhaps I'm doing something wrong, not sure, but I was curious if you had another way to go about this. Thanks!

Best way to turn off hit highlighting

Posted: Thu Sep 20, 2001 12:51 pm
by Kai
Just turn it off with </mm> and back on later with <mm>:

blah blah highlight $thisvar and $thatvar
</mm>do not highlight $anothervar <mm> but highlight $yetanothervar

<mm> and </mm> turn on/off highlighting that is automatically done by <fmtcp query>.