Google Custom Search Engine/Voorbeeld met Bootstrap styling: verschil tussen versies
Uit MediaWikiGids
(Nieuwe pagina aangemaakt met '== Voorbeeld 2 - Bootstrap styling == <html> <script> (function() { var cx = '018439257105187159561:8ydlp_ajuk0'; var gcse = document.createElement('scr...') |
|||
Regel 25: | Regel 25: | ||
} | } | ||
</script> | </script> | ||
− | < | + | <script async type="text/javascript" |
+ | src="//cse.google.com/cse/brand?form=cse-search-box-form-id&inputbox=cse-search-input-box-id"> | ||
+ | </script> | ||
<form class="navbar-form navbar-right" id="cse-search-box-form-id" onsubmit="return executeQuery();" role="search"> | <form class="navbar-form navbar-right" id="cse-search-box-form-id" onsubmit="return executeQuery();" role="search"> | ||
Regel 31: | Regel 33: | ||
<input type="text" class="form-control" id="cse-search-input-box-id" size="25" autocomplete="off"> | <input type="text" class="form-control" id="cse-search-input-box-id" size="25" autocomplete="off"> | ||
− | + | ||
− | |||
− | |||
<span class="input-group-btn"> | <span class="input-group-btn"> | ||
Regel 42: | Regel 42: | ||
</div> | </div> | ||
</form> | </form> | ||
+ | |||
+ | <gcse:searchresults-only></gcse:searchresults-only> | ||
</html> | </html> |
Versie van 26 mrt 2019 om 11:01
Voorbeeld 2 - Bootstrap styling