added first API tooltip!

- description of JSON search result in interactive search

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5454 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 16 years ago
parent 0d1bd78674
commit a1bf687b3b

@ -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;
}

@ -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%#

@ -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>

Loading…
Cancel
Save