-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
committed
Apr 10, 2019
1 parent
027447b
commit 84519ed
Showing
17 changed files
with
123 additions
and
42 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.. Jibia Docs documentation master file, created by | ||
sphinx-quickstart on Tue Apr 10 20:35:52 2018. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
Recommendations | ||
==================================== | ||
|
||
Simple HTML Example | ||
============================= | ||
This javascript example shows how to implement jibia's search bar. The search bar should have 'searchbar' as its id like this: | ||
|
||
:: | ||
|
||
<input type="name" id = "searchbar" class = "zoekbalk" name="Search" placeholder="Zoekbalk van Jibia"></input> | ||
To show the autocomplete results you need an empty div under this input field. | ||
|
||
:: | ||
|
||
<div id="data"></div> | ||
|
||
This div will be filled with the search results. To finalize the implementation add the following script tag to | ||
the bottom of your html document. Insert your own jibia search token in the token attribute: | ||
|
||
:: | ||
|
||
<script src="js/jibia_search.js" token="YOUR TOKEN HERE"/> | ||
|
||
The only thing left to do now is downloading jibia_search.js and adding this file to your js folder. Once this is done the | ||
search bar should be up and running. | ||
|
||
Besides the token parameter, several other parameters can be set in the script tag above. These are detailed below. | ||
|
||
.. glossary:: | ||
|
||
styled | ||
This value can be set to true or false. If this is set to true the search results will use predefined style. The parameter defaults to true. | ||
|
||
result_classname | ||
This parameter can be set to define the class name for autocomplete suggestions. This parameter defaults to "search_result". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
.. Jibia Docs documentation master file, created by | ||
sphinx-quickstart on Tue Apr 10 20:35:52 2018. | ||
You can adapt this file completely to your liking, but it should at least | ||
contain the root `toctree` directive. | ||
Search | ||
==================================== | ||
|
||
Simple HTML Example | ||
============================= | ||
This javascript example shows how to implement jibia's search bar. The search bar should have 'searchbar' as its id like this: | ||
|
||
:: | ||
|
||
<input type="name" id = "searchbar" class = "zoekbalk" name="Search" placeholder="Zoekbalk van Jibia"></input> | ||
To show the autocomplete results you need an empty div under this input field. | ||
|
||
:: | ||
|
||
<div id="data"></div> | ||
|
||
This div will be filled with the search results. To finalize the implementation add the following script tag to | ||
the bottom of your html document. Insert your own jibia search token in the token attribute: | ||
|
||
:: | ||
|
||
<script src="js/jibia_search.js" token="YOUR TOKEN HERE"/> | ||
|
||
The only thing left to do now is downloading jibia_search.js and adding this file to your js folder. Once this is done the | ||
search bar should be up and running. | ||
|
||
Besides the token parameter, several other parameters can be set in the script tag above. These are detailed below. | ||
|
||
.. glossary:: | ||
|
||
styled | ||
This value can be set to true or false. If this is set to true the search results will use predefined style. The parameter defaults to true. | ||
|
||
result_classname | ||
This parameter can be set to define the class name for autocomplete suggestions. This parameter defaults to "search_result". |