I have added a custom Google Search to a site and while the search box functions the results page is pathetically empty.
Here is the search box code:
<form action="http://www.nu-living.com/info/search_results" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="017425724926122041548:jqyv4auvnls" />
<input type="hidden" name="cof" value="FORID:9" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" name="q" size="31" />
<input type="submit" class="submit" name="sa" value="Search" />
</div>
</form>
<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=en"></script>
Here is the display code:
<div id="cse-search-results"></div>
<script type="text/javascript">
var googleSearchIframeName = "cse-search-results";
var googleSearchFormName = "cse-search-box";
var googleSearchFrameWidth = 900;
var googleSearchDomain = "www.google.com";
var googleSearchPath = "/cse";
</script>
<script type="text/javascript" src="http://www.google.com/afsonline/show_afs_search.js"></script>
The site: http://www.nu-living.com
The search results page: http://www.nu-living.com/info/search_results
I have done this on several other sites with success, but this one is just not cooperating. I would appreciate any assistance in getting this to work correctly