close
Hong Kong Business Directory
(香港企業名錄) Hong Kong Business Directory (香港企業名錄)
Search

MediaWiki:Googlesearch


<link href="http://www.google.com/uds/css/gsearch.css" type="text/css" rel="stylesheet"/> <script src="http://www.google.com/uds/api?key=ABQIAAAAsec4RV8oAB2Dy0WfBAQeBRTOj0CEn5gfCXUH3QgxwVJGc-gNBRRDgIE8eNAciyoDRBQCFn35jYVFJQ&file=uds.js&v=1.0" type="text/javascript"></script>

Inside Search

   <script type="text/javascript">
   //<![CDATA[
   function OnLoad() {
     // Create a search control
     var searchControl = new GSearchControl();
     // Add in a full set of searchers
     var siteSearch = new GwebSearch();
     siteSearch.setUserDefinedLabel("m.hongkong.mingluji.com");
     siteSearch.setUserDefinedClassSuffix("siteSearch");
     siteSearch.setSiteRestriction("m.hongkong.mingluji.com");

var options = new GsearcherOptions; options.setExpandMode(GSearchControl.EXPAND_MODE_OPEN);

     searchControl.addSearcher(siteSearch, options);

// searchControl.addSearcher(new GwebSearch(), options);

var options = new GdrawOptions(); options.setSearchFormRoot(document.getElementById("searchForm"));

     // tell the searcher to draw itself and tell it where to attach
     searchControl.draw(document.getElementById("searchcontrol-site-$1"), options);
     // execute an inital search
     searchControl.execute("$1");
   }
   GSearch.setOnLoadCallback(OnLoad);
   //]]>
   </script>
Loading......

Web Search

   <script type="text/javascript">
   //<![CDATA[
   function OnLoad() {
     // Create a search control
     var searchControl = new GSearchControl();
     // Add in a full set of searchers
     var webSearch = new GwebSearch();

var options = new GsearcherOptions; options.setExpandMode(GSearchControl.EXPAND_MODE_OPEN);

     searchControl.addSearcher(new GwebSearch(), options);

var options = new GdrawOptions(); options.setSearchFormRoot(document.getElementById("searchForm"));

     // tell the searcher to draw itself and tell it where to attach
     searchControl.draw(document.getElementById("searchcontrol-web-$1"), options);
     // execute an inital search
     searchControl.execute("$1");
   }
   GSearch.setOnLoadCallback(OnLoad);
   //]]>
   </script>
Loading......

Home (首頁) | Mobile Mobile (手機版) | Computer (電腦版) Computer


2010-2017 v8.16 a-j-e-0