Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
added first API tooltip! - description of JSON search result in interactive search
orbitera1bf687b3b6d
diff --git a/htroot/env/base.css b/htroot/env/base.cssindex d8d7a2a2b..34b37a525 100644--- a/htroot/env/base.css+++ b/htroot/env/base.css@@ -826,3 +826,29 @@ ul.folder li.treeMenu_opened ul {ul.folder li.treeMenu_closed ul {display: none;}+++/* API */+div#api {+ position:fixed;+ top:30px;+ right:30px;+}++div#api span {+ display: none;+}++div#api:hover span {+ display: block;+ position: absolute;+ font-size:1em;+ top: 100px;+ left: 0;+ width: 90px;+ padding: 5px;+ color: #000000;+ background: #DDDDDD;+ text-align: center;+ border: 1px dashed black;+ }\ No newline at end of filediff --git a/htroot/index.html b/htroot/index.htmlindex 4e1a8139f..9f0dbb4e5 100644--- a/htroot/index.html+++ b/htroot/index.html@@ -8,8 +8,6 @@<script type="text/javascript" src="js/html.js"></script></head><body id="index">-- <div style="position:fixed;top:30px;right:20px;"><a href="http://www.yacy-websuche.de/wiki/index.php/Dev:API"><img src="env/grafics/api.png"></a></div>#(display)##%env/templates/simpleheader.template%#diff --git a/htroot/interactivesearch.html b/htroot/interactivesearch.htmlindex 7f4a02dac..e098f5588 100644--- a/htroot/interactivesearch.html+++ b/htroot/interactivesearch.html@@ -50,6 +50,12 @@ function updatepage(str){<body>#%env/templates/header.template%#+<div id="api"><a href="yacysearch.json?query=yacy"><img src="env/grafics/api.png"></a>+<span>This page uses the JSON search API to display search results as you type.+Click the API icon to see an example call to the native API.+To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de/wiki/index.php/Dev:API">API wiki page</a>.</span>+</div>+<form name="searchform" onkeyup='xmlhttpPost(); return false;'><p>Query: <input name="query" type="text"><!--<input value="Search" type="submit">--></p>