beautypg.com

Query suggestion table class, Ss_protocol – Google Search Appliance Protocol Reference User Manual

Page 96

background image

Google Search Appliance: Search Protocol Reference

Query Suggestion Service /suggest Protocol

96

ss_protocol

The three values are:

Default value: rich

Query Suggestion CSS Classes in the XSLT
Stylesheet

Programs can change the following areas of the suggestion display using CSS:

Google Suggest provides the following CSS classes that correspond to the numbers in the illustration:

Query Suggestion Table Class

The .ss_gac_m CSS class provides the style for the element whose id value is referenced by
the JavaScript ss_popup_element variable:

style="width: 365px; visibility: hidden;" id="search_suggest">

Value

Description

legacy

Provides backward compatibility with the version 6.0 query suggestion feature for
the token and max_matches variables. This setting excludes user-added results
from the response. If an unknown format is set, legacy is assumed.

os

Supports the OpenSearch format.

rich

Rich text format (default for version 6.2 and later).

Area

CSS Class

Style Description

1

.ss_gac_a

Suggestion box table row when an entry is not selected.

1

.ss_gac_b

Suggestion box table row when an entry is selected.

2

.ss_gac_c

Suggestion box table cell . This class affects all suggestion entries.

3

.ss_gac_d

Suggestion box table cell . This class is defined by the
ss_g_more_names_to_display and ss_g_one_name_to_display
XSLT variables.

4

.ss_gac_e

Suggestion box last table row .