網路城邦
上一篇 回創作列表 下一篇  字體:
手提gps
2014/04/19 21:05:30瀏覽22|回應0|推薦0



<center>
<table border="0"><tr><td>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- udn-pwp67636 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:300px;height:250px"
     data-ad-client="ca-pub-7710015721416354"
     data-ad-slot="5799605421"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- udn-pwp67636 -->
<ins class="adsbygoogle"
     style="display:inline-block;width:300px;height:250px"
     data-ad-client="ca-pub-7710015721416354"
     data-ad-slot="5799605421"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</td></tr></table></center>

<br />
<br />
<br />

<center>
<!-- google search javascript-->
    <script src="http://www.google.com/jsapi?key=AIzaSyD-4XbMIl9XSmoiMWvEbMlV4ajAIO56bX0" type="text/javascript">
    </script>
    <script language="Javascript" type="text/javascript">
      //<![CDATA[
      google.load("search", "1");
      function OnLoad() {
        // Create a search control
        var searchControl = new google.search.SearchControl();
        searchControl.setResultSetSize(google.search.Search.SMALL_RESULTSET) ;
        GSearch.getBranding(document.getElementById("branding"));
        //google.search.Search.SMALL_RESULTSET
        //google.search.Search.LARGE_RESULTSET
        // Add in a full set of searchers
        var localSearch = new google.search.LocalSearch();
        //localSearch.setUserDefinedLabel("相關資訊");
        //searchControl.addSearcher(localSearch);
        //searchControl.addSearcher(new GwebSearch());
        var site = new GwebSearch();

        site.setSiteRestriction("018294159191344746189:nw3atwwme2c");

        site.setUserDefinedLabel("相關資料");
        //site.setUserDefinedLabel("vegetarian");
        var options = new google.search.SearcherOptions();
        options.setExpandMode(google.search.SearchControl.EXPAND_MODE_OPEN);
        options.setNoResultsString("目前無相關資訊!");
        searchControl.addSearcher(site,options);
        //searchControl.addSearcher(new GvideoSearch());
        //searchControl.addSearcher(new GblogSearch());
        //searchControl.addSearcher(new GnewsSearch());
        //searchControl.addSearcher(new GimageSearch());
        //searchControl.addSearcher(new GbookSearch());
        // Set the Local Search center point
        //localSearch.setCenterPoint("Taiwan, TW");
        // Tell the searcher to draw itself and tell it where to attach
        var drawOptions = new google.search.DrawOptions();
        drawOptions.setDrawMode(google.search.SearchControl.DRAW_MODE_TABBED);
        //DRAW_MODE_LINEAR
        //DRAW_MODE_TABBED
        searchControl.draw(document.getElementById("searchResults"),drawOptions);
        // Execute an inital search
        searchControl.execute("手提gps");
          }
      google.setOnLoadCallback(OnLoad);
      //]]>
      </script>
            <style type="text/css">
        .gsc-control { width: 720px; overflow:hidden;}
        .gsc-control { font-size: 13px; }
        .gsc-search-box { display: none; }
        .gsc-search-box { font-size: 12px; }
        .gsc-narrow .gsc-input { width: 100px; }
      </style>
            <div id="branding" align = "left"> </div>
            <div id="content"  >
              <div id="searchResults" align = "left"> </div>
            </div>
</center>
( 時事評論政治 )
回應 推薦文章 列印 加入我的文摘
上一篇 回創作列表 下一篇

引用
引用網址:https://classic-blog.udn.com/article/trackback.jsp?uid=pwp67636&aid=12641065