From af8f7b8bba6bc1ff8f0b31e5eb629a9dd10ab9ae Mon Sep 17 00:00:00 2001 From: det Date: Sat, 7 Jun 2008 18:33:04 +0000 Subject: [PATCH] add image rising while mouse over in Collage git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4898 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/Collage.html | 20 +++++++++++++++++++- htroot/Collage.java | 10 +++++++--- 2 files changed, 26 insertions(+), 4 deletions(-) diff --git a/htroot/Collage.html b/htroot/Collage.html index f47cbacef..ac97ed52c 100755 --- a/htroot/Collage.html +++ b/htroot/Collage.html @@ -17,6 +17,24 @@ form dd { } + #(emb)# @@ -49,4 +67,4 @@ document.body.style.background = "#000"; #%env/templates/footer.template%# #(/emb)# - \ No newline at end of file + diff --git a/htroot/Collage.java b/htroot/Collage.java index 3cbd23646..dd7606d74 100755 --- a/htroot/Collage.java +++ b/htroot/Collage.java @@ -101,6 +101,7 @@ public class Collage { if (fifoSize > 0) { prop.put("imgurl", "1"); int c = 0; + int yOffset = embed ? 0 : 70; for (int i = 0; i < fifoSize; i++) { yacyURL baseURL = origins[i].baseURL; @@ -111,14 +112,17 @@ public class Collage { if ((serverCore.isLocalhost(baseURL.getHost()) || serverCore.isLocalhost(imageURL.getHost())) && sb.getConfigBool("adminAccountForLocalhost", false)) continue; + long z = imgZIndex[i]; prop.put("imgurl_list_" + c + "_url", "" + "" + "
"); c++; @@ -133,4 +137,4 @@ public class Collage { prop.put("emb_publicQueueSize", ResultImages.publicQueueHighSize() + "+" + ResultImages.publicQueueLowSize()); return prop; } -} \ No newline at end of file +}