Google Custom Search Engine/Voorbeeld met Bootstrap styling: verschil tussen versies
Uit MediaWikiGids
(→Voorbeeld 2 - Bootstrap styling) |
|||
| Regel 24: | Regel 24: | ||
return false; | return false; | ||
} | } | ||
| − | |||
| − | |||
| − | |||
</script> | </script> | ||
| Regel 32: | Regel 29: | ||
<div class="input-group"> | <div class="input-group"> | ||
<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"> | ||
| − | + | ||
| − | + | // MAKE SURE TO PUT THIS JS 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> | ||
<span class="input-group-btn"> | <span class="input-group-btn"> | ||
Versie van 26 mrt 2019 om 11:07
Voorbeeld 2 - Bootstrap styling