// 搜索結(jié)果輸出選項(xiàng),列表顯示 GSearchControl.DRAW_MODE_TABED是另外一個(gè)選項(xiàng),tab方式顯示各種搜索結(jié)果 var drawOptions = new GdrawOptions(); drawOptions.setDrawMode(GSearchControl.DRAW_MODE_LINEAR);
// 每次顯示8條搜索結(jié)果 searchControl.setResultSetSize(GSearch.LARGE_RESULTSET); // Tell the searcher to draw itself and tell it where to attach searchControl.draw(document.getElementById("searchcontrol"), drawOptions);