Manage Learn to apply best practices and optimize your operations.

Return Search Results on the Web Without Ugly Relevancy Boxes

As all of you may know about the little relevancy boxes that are displayed to the left of the search results. These are fairly ugly, and have been rumored to be optional in the next release, but have no easy way, now, to get rid of them. I've came up with a way of doing it combining JavaScript and Notes functionality.

First, you must have a $$Search template form created for the results. At the top of the form place the code <input type=hidden name=results value='***'>. For the value of the hidden HTML field, (***), place the $$ViewBody notes field. You must use single quotes around the field. This gets all of the results into a field that JavaScript can see and use.

Second, in the JS header, place the following code;

function results()
var done="No";

while (done!="Yes"){
begin=res.indexOf(' end=res.indexOf('>',begin)

This runs through the HTML that displays the results and removes the image tags that display the little boxes. You can place this code anywhere on your form, as long as it is inclosed in <script language="javascript">...</script>.

Third, on the spot on your form where you want to display the results, place the call to the JavaScript function:

<script language="javascript">

This was last published in November 2000

Dig Deeper on Lotus Notes Domino Administration Tools

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...