forked from kiwix/kiwix-tools
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							28 lines
						
					
					
						
							851 B
						
					
					
				
			
		
		
	
	
							28 lines
						
					
					
						
							851 B
						
					
					
				| <link type="text/css" href="/skin/jquery-ui/jquery-ui.min.css" rel="Stylesheet" />
 | |
| <link type="text/css" href="/skin/jquery-ui/jquery-ui.theme.min.css" rel="Stylesheet" />
 | |
| <link type="text/css" href="/skin/taskbar.css" rel="Stylesheet" />
 | |
| <script type="text/javascript" src="/skin/jquery-ui/external/jquery/jquery.js"></script>
 | |
| <script type="text/javascript" src="/skin/jquery-ui/jquery-ui.min.js"></script>
 | |
| <script>
 | |
|   var jk = jQuery.noConflict();
 | |
|   jk(function() {
 | |
|   jk( "#kiwixsearchbox" ).autocomplete({
 | |
| 
 | |
|   source: "/suggest?content=__CONTENT__",
 | |
|   dataType: "json",
 | |
|   cache: false,
 | |
| 
 | |
|   select: function(event, ui) {
 | |
|   jk( "#kiwixsearchbox" ).val(ui.item.value);
 | |
|   jk( "#kiwixsearchform" ).submit();
 | |
|   },
 | |
| 
 | |
|   });
 | |
|   });
 | |
| 
 | |
|   /* cybook hack */
 | |
|   if (navigator.userAgent.indexOf("bookeen/cybook") != -1) {
 | |
|   	jk("html").addClass("cybook");
 | |
|   }
 | |
| </script>
 |