Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Bookmark/delete-links now visible when mouse is over the searchresult, in standard-compliant browsers with css, in Microsoft Internet Explorer via JavaScript
michitux567c40f5f0d1
diff --git a/htroot/env/base.css b/htroot/env/base.cssindex c74a44ff1..d1a9dfcad 100644--- a/htroot/env/base.css+++ b/htroot/env/base.css@@ -203,11 +203,11 @@ img.bookmarkIcon, img.deleteIcon {width: 16px;}-a.deletelink:hover {+a.deletelink:hover, div.searchresults:hover a.deletelink, div.searchresults.hover a.deletelink {background:url(/env/grafics/minus.gif) center center no-repeat;}-a.bookmarklink:hover {+a.bookmarklink:hover, div.searchresults:hover a.bookmarklink, div.searchresults.hover a.bookmarklink {background:url(/env/grafics/plus.gif) center center no-repeat;}diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.jsindex fde8d9fba..9be0f1778 100644--- a/htroot/js/yacysearch.js+++ b/htroot/js/yacysearch.js@@ -64,3 +64,20 @@ function handleState(req) {span.appendChild(document.createTextNode(snippetText));}}++function addHover() {+ if (document.all&&document.getElementById) {+ var divs = document.getElementsByTagName("div");+ for (i=0; i<divs.length; i++) {+ var node = divs[i];+ if (node.className=="searchresults") {+ node.onmouseover=function() {+ this.className+=" hover";+ }+ node.onmouseout=function() {+ this.className=this.className.replace(" hover", "");+ }+ }+ }+ }+}diff --git a/htroot/yacysearch.html b/htroot/yacysearch.htmlindex 12c0950fd..373550d46 100644--- a/htroot/yacysearch.html+++ b/htroot/yacysearch.html@@ -144,6 +144,7 @@ You can enrich the search results by using the 'global' option; you must also sw<script type="text/javascript">AllSnippets();+addHover();</script></body>