I've read about two solutions to hide the Relevance Score, which is the shaded box to the left of Search Results on the web.
The first is to control the image after it has been rendered in the browser using Javascript. This offers control but relies on JS. The second is to view TreatAsHTML and code everything myself - when doing a FT Search, Domino will highlight the words on the Page results, which gets really tricky if I have to code the highlighting myself.
So here's another possibility: use inline styles. As the code is not placed in an external style sheet, the IMG style will only affect those images immediately following it on the form. If you need to actually display an icon in a column in the view you are searching, then modify the column to call the "img.show style".
Code
ex. "<img src="/icons/vwicn001.gif" class=show>"
On your "$$SearchTemplateDefault"
form/page just above the "$$ViewBody",
enter the following pass-through HTML...
<style type=text/css>
<!--
img {display: none; visibility: hidden};
img.show {display: inline; visibility: visible};
-->
</style>
Do you have comments on this tip? Let us know.
This tip was submitted to the SearchDomino.com tip exchange by member Domenic Guarino. Please let others know how useful it is via the rating scale below. Do you have a useful Notes/Domino tip or code to share? Submit it to our monthly tip contest and you could win a prize and a spot in our Hall of Fame.