From 8ebfd732ceab473a6b6a6d63bc4ff2fc82ffcae7 Mon Sep 17 00:00:00 2001 From: michitux Date: Thu, 19 Jul 2007 19:49:48 +0000 Subject: [PATCH] - Fix for the redisplay of hidden results in Opera, see http://forum.yacy-websuche.de/viewtopic.php?f=6&t=140 for details. - Now the message that there are hidden results is hidden when all results are displayed again. git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3994 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/env/base.css | 4 ++++ htroot/js/yacysearch.js | 13 ++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/htroot/env/base.css b/htroot/env/base.css index 614c31b02..f0457e9c1 100644 --- a/htroot/env/base.css +++ b/htroot/env/base.css @@ -253,6 +253,10 @@ div.searchresults { margin-bottom:1em; } +div.searchresults.hidden { + display:none; +} + div.SubMenugroup{ float:left; margin-right:1px; diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.js index ad400d8a8..cb37bdb29 100644 --- a/htroot/js/yacysearch.js +++ b/htroot/js/yacysearch.js @@ -102,10 +102,13 @@ function requestImageSnippet(url, query, progressbar){ } function show_hidden_results(){ - results=document.getElementsByName("searchresults"); - for(i=0;i