Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Merge branch 'html-search'
- Loading branch information
Showing
17 changed files
with
424 additions
and
0 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+166 Bytes
html/css/custom-theme/images/ui-bg_highlight-soft_75_f5e47b_1x100.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,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> |