-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
36 lines (30 loc) · 1.28 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<head>
<title>quran auto-complete demo</title>
<style type="text/css">
body {
margin: 0;
padding: 0;
}
#autocomp {
width: 25em;
padding-bottom: 2em;
}
</style>
<!-- combo-handled YUI CSS files: -->
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/combo?2.7.0/build/fonts/fonts-min.css&2.7.0/build/autocomplete/assets/skins/sam/autocomplete.css">
<!-- combo-handled YUI JS files: -->
<script type="text/javascript" src="http://yui.yahooapis.com/combo?2.7.0/build/yahoo-dom-event/yahoo-dom-event.js&2.7.0/build/animation/animation-min.js&2.7.0/build/connection/connection-min.js&2.7.0/build/datasource/datasource-min.js&2.7.0/build/autocomplete/autocomplete-min.js&2.7.0/build/json/json-min.js"></script>
</head>
<body class="yui-skin-sam">
<h1>quran transliteration autocompletion demo</h1>
<div class="intro">
this is a proof of concept to illustrate a potential autocomplete solution for
searching quranic transliteration.
</div>
<h3>search the quran:</h3>
<div id="autocomp">
<input type="text" id="searchbox">
<div id="searchcontainer"></div>
</div>
<script type="text/javascript" src="suggestions.js"></script>
</body>