Hi Rory,

it's only on my local computer for now.
But the google API is called through <script src="
http://www.google.com/jsapi"; type="text/javascript"></script>

Here is the full code:

<script src="http://www.google.com/jsapi"; type="text/javascript"></script>
  <script type="text/javascript">
    // Load the Search API
    google.load('search', '1');

    // Set a callback to load the Custom Search Element when you page loads
    google.setOnLoadCallback(
      function(){

//add parameters
var customSearchOptions = {};
var imageSearchOptions = {};
imageSearchOptions['layout'] = google.search.ImageSearch.LAYOUT_CLASSIC;
customSearchOptions['enableImageSearch'] = true;
customSearchOptions['filetype'] = 'jpg';
customSearchOptions['imageSearchOptions'] = imageSearchOptions;

var customSearchControl = new
google.search.CustomSearchControl('015544809827350742733:tb1985qexa8',customSearchOptions);
        // Use "mysite_" as a unique ID to override the default rendering.
        google.search.Csedr.addOverride("mysite_");

        // Draw the Custom Search Control in the div named "CSE"
        customSearchControl.draw('cse');

        // Execute an initial search
        customSearchControl.execute("waka+waka");
      },
    true);
  </script>
<div class="columns-global">
 <div style="display:none">

    <!-- Return the unescaped result URL.-->
    <div id="mysite_webResult" style="display:none">
      <div class="gs-webResult gs-result"
data-vars="{longUrl:function() {
          var i = unescapedUrl.indexOf(visibleUrl);
          return i < 1 ? visibleUrl : unescapedUrl.substring(i);}}">

 <!-- Build the result data structure.-->
        <table>
          <tr>
            <td valign="top">
              <div data-if="Vars.richSnippet" data-attr="0"

 
data-body="render('thumbnail',richSnippet,{url:unescapedUrl,target:target})"></div>
            </td>
            <td valign="top">
              <!-- Append results within the table cell.-->
              <div class="gs-title">
                <a class="gs-title"
                  data-body="html(title)"></a>
              </div>
            </td>
          </tr>
        </table>
      </div>
    </div>
  </div>
  <!-- Div container for the searcher.-->
  <div id="cse"></div>
</div>

Thanks

Yves

2012/4/15 rocits <[email protected]>

> Is it possible to access Google API library via FTP?
>
> Anonymously or Otherwise?
>
> Thanks,
>
> Rory O Connor
>
> --
> 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]
> To view this message on the web, visit
> https://groups.google.com/d/msg/google-ajax-search-api/-/K2RuoTa9T0gJ
> For more options, visit this group at
> http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
>



-- 
*Yves Jacq -  hedolist.com <http://www.hedolist.com/>*
 *            (+33)6.15.39.67.77      *

*// Wants to be part of hedolist customer development? *
* Register online and get your invitation <http://www.hedolist.com/> as a
bĂȘtatesteur.*

<http://twitter.com/rose_jeantet/statuses/128580907794825216>
Printing emails is SO 2009

-- 
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]
To view this message on the web, visit
http://groups.google.com/group/google-ajax-search-api?hl=en_US
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Reply via email to