この文書の現在のバージョンと選択したバージョンの差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
start [2015/05/10 00:19] Yasuo Ohgaki |
start [2020/05/02 22:57] (現在) Yasuo Ohgaki |
||
---|---|---|---|
ライン 2: | ライン 2: | ||
古いWikiページへのアクセスは http://wiki.ohgaki.net/old/ にお願いします。 | 古いWikiページへのアクセスは http://wiki.ohgaki.net/old/ にお願いします。 | ||
+ | |||
+ | [[https://blog.ohgaki.net|ブログ]] | ||
ライン 10: | ライン 12: | ||
[[php-pocket-ref|PHPポケットリファレンス]] | [[php-pocket-ref|PHPポケットリファレンス]] | ||
- | PostgreSQL 9.4日本語マニュアルのカスタム検索 | + | PostgreSQL 日本語マニュアルのカスタム検索 |
<html> | <html> | ||
<script> | <script> | ||
ライン 24: | ライン 26: | ||
})(); | })(); | ||
</script> | </script> | ||
- | <gcse:search></gcse:search> | + | <gcse:searchbox-only></gcse:searchbox-only> |
</html> | </html> | ||
+ | PHP 日本語マニュアル検索 | ||
<html> | <html> | ||
- | <div id='cse' style='width: 100%;'>Loading</div> | + | <script> |
- | <script src='//www.google.com/jsapi' type='text/javascript'></script> | + | (function() { |
- | <script type='text/javascript'> | + | var cx2 = '012714873391141468143:gs3aod9vwai'; |
- | google.load('search', '1', {language: 'ja', style: google.loader.themes.DEFAULT}); | + | var gcse = document.createElement('script'); |
- | google.setOnLoadCallback(function() { | + | gcse.type = 'text/javascript'; |
- | var customSearchOptions = {}; | + | gcse.async = true; |
- | var customSearchControl = new google.search.CustomSearchControl('012714873391141468143:z4ziwe6n4vc', customSearchOptions); | + | gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + |
- | customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET); | + | '//cse.google.com/cse.js?cx=' + cx2; |
- | var options = new google.search.DrawOptions(); | + | var s = document.getElementsByTagName('script')[0]; |
- | customSearchControl.draw('cse', options); | + | s.parentNode.insertBefore(gcse, s); |
- | }, true); | + | })(); |
</script> | </script> | ||
- | <link rel='stylesheet' href='cse.google.com/style/look/default.css' type='text/css'/> | + | <gcse:searchbox-only></gcse:searchbox-only> |
</html> | </html> | ||
+ | |||
+ | PHP Wikiサイト(wiki.php.net)検索 | ||
+ | <html> | ||
+ | <script> | ||
+ | (function() { | ||
+ | var cx3 = '012714873391141468143:t7rijfeu8eu'; | ||
+ | var gcse = document.createElement('script'); | ||
+ | gcse.type = 'text/javascript'; | ||
+ | gcse.async = true; | ||
+ | gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + | ||
+ | '//cse.google.com/cse.js?cx=' + cx3; | ||
+ | var s = document.getElementsByTagName('script')[0]; | ||
+ | s.parentNode.insertBefore(gcse, s); | ||
+ | })(); | ||
+ | </script> | ||
+ | <gcse:searchbox-only></gcse:searchbox-only> | ||
+ | </html> | ||
+ |