Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

45 lines (42 sloc) 1.334 kB
<!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>
Jump to Line
Something went wrong with that request. Please try again.