Skip to content
This repository
tree: bb467ff475
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 45 lines (42 sloc) 1.334 kb
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 37 38 39 40 41 42 43 44
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Perl 6 Doc Search</title>
<link type="text/css" href="css/custom-theme/jquery-ui-1.8.21.custom.css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.21.custom.min.js"></script>
<script type="text/javascript">
function display () {
  var iframe_doc = $("#buffer").get()[0].contentDocument;
  $("#display").html(iframe_doc.body.innerHTML);
}
$(function(){
  $("#query").autocomplete({
    source: [
ITEMS
    ],
    select: function (event, ui) {
      $("#buffer").attr("src", ui.item.url);
    }
  }).focus();
});
</script>
<style type="text/css">
#buffer { height: 0; width: 0; border: none; }
noscript p { padding: .5em; }
</style>
</head>

<body>
<noscript>
<p class="ui-state-error ui-corner-all">This search page requires JavaScript. Please enable it in your browser,
   or use the <a href="index.html">index page</a> instead.</p>
</noscript>

<div id="search" class="ui-widget">
  <label for="query">Search for: </label>
  <input id="query" style="z-index: 100; position: relative" title="Enter Perl 6 document to search for" />
</div>
<div id="display"></div>
<iframe id="buffer" onload="display()"></iframe>
</body>
</html>
Something went wrong with that request. Please try again.