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
Leandro Oniszczuk
committed
Aug 12, 2011
1 parent
5ea3424
commit 8d17ec2
Showing
3 changed files
with
144 additions
and
85 deletions.
There are no files selected for viewing
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,29 @@ | ||
<html> | ||
<head> | ||
<!-- Dependencies --> | ||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script> | ||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script> | ||
<script type="text/javascript" src="querybuilder.js"></script> | ||
<script type="text/javascript" src="jquery.indextank.ize.js"></script> | ||
<script type="text/javascript" src="jquery.indextank.ajaxsearch.js"></script> | ||
<script type="text/javascript" src="jquery.indextank.facetsrenderer.js"></script> | ||
|
||
<link type="text/css" rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/south-street/jquery-ui.css" media="all" /> | ||
|
||
<script> | ||
$(document).ready(function(){ | ||
$("#myform").indextank_Ize(YOUR_PUBLIC_API_URL, YOUR_INDEX_NAME); | ||
$("#facets").indextank_FacetsRenderer(); | ||
$("#query").indextank_AjaxSearch( {listeners: $("#facets")}); | ||
}); | ||
</script> | ||
</head> | ||
|
||
<body> | ||
<h3>Type, hit enter and see facets rendered by jquery.indextank.facetsrenderer.js</h3> | ||
<form id="myform" action="ignored.html"> | ||
<input id="query" type="text"/> | ||
</form> | ||
<div id="facets"></div> | ||
</body> | ||
</html> |
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