This is a request to support linear draw mode on the CustomSearchControl.
Currently the CustomSearchControl does not implement DRAW_MODE_LINEAR. The
control uses the tabbed drawing layout, even if DRAW_MODE_LINEAR is specified
in DrawOptions.
Example:
var CSE_ID = 'XXXXXXXXXXXXXXXXXXXXX:xxxxxxxxxxx';
var customSearchControl =
new google.search.CustomSearchControl(CSE_ID);
// (The control will display: CSE results,
// results from the following added searchers,
// and results for CSE Refinement Labels if any.)
//
customSearchControl.addSearcher(
new google.search.WebSearch());
customSearchControl.addSearcher(
new google.search.BlogSearch());
customSearchControl.addSearcher(
new google.search.NewsSearch());
var drawOptions = new google.search.DrawOptions();
drawOptions.setDrawMode(
google.search.SearchControl.DRAW_MODE_LINEAR);
customSearchControl.draw('cse', drawOptions);
//
// The CustomSearchControl uses tabbed mode.
// DRAW_MODE_LINEAR has no effect on the CustomSearchControl.
Original issue reported on code.google.com by omr99...@yahoo.com on 3 Jul 2010 at 6:37
Original issue reported on code.google.com by
omr99...@yahoo.com
on 3 Jul 2010 at 6:37