Hi I'm new to this group, don't have a huge amount of script
knowledge, just cobble stuff together from examples I find. I've
tried implementing a search for my website that is restricted to my
website and I come across 2 problems.
First I can't get CSS styles I setup to work. I edited the css style
file I found in the documentation and loaded it on my server and
linked to it. I can't find clear directions on how to have the CSS
styles apply to the output coming from the search.
Second I can't get the large search result to stick. I found this
code:
var searchControl = new google.search.SearchControl();
var searcher = new google.search.WebSearch();
var options = new google.search.SearcherOptions();
options.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);
searchControl.addSearcher(searcher,options);
searchControl.draw(document.getElementById('my_element');
placed it my search page but it appeared to make no difference at all.
What I want to have happen is to change font styles and colours as set
in the CSS file and for at least 4 search results to show without
having to click the small symbol at the top of the results.
The link to the search page is:
http://www.aus-natural.com/search.htm
It is restricted to my site only. To try it out typing "rose robin"
will return at least 4 results if you click the show more results
button.
Thanks in advance for any help.
regards,
Chris Ross
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---