From 62e674af507f8084c9e102a3aa5ac738a63a1c8f Mon Sep 17 00:00:00 2001 From: apfelmaennchen Date: Tue, 8 Nov 2011 11:13:29 +0000 Subject: [PATCH] fix for http://bugs.yacy.net/view.php?id=69 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@8015 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/YMarks.html | 5 +++-- htroot/jquery/css/yacy-portalsearch.css | 12 ++++++------ htroot/jquery/css/yacy-ymarks.css | 12 ++++++------ htroot/jquery/js/yacy-portalsearch.js | 26 ++++++++++++------------- 4 files changed, 28 insertions(+), 27 deletions(-) diff --git a/htroot/YMarks.html b/htroot/YMarks.html index 5665beeb1..ee7946aa9 100644 --- a/htroot/YMarks.html +++ b/htroot/YMarks.html @@ -174,7 +174,7 @@ .html(HTMLenc(tag)+' ') .appendTo('#ymarks_tagcloud') .bind('click', function() { - var qtag = $(this).text().replace(/\s+/g,""); + var qtag = $(this).text().replace(/\s+$/g,""); $('#ymarks_flexigrid').flexOptions({ query: qtag, qtype: "_tags", @@ -322,8 +322,9 @@ Firefox JSON
XBEL
Surrogate XML
+ DMOZ XML
YaCy White/Black List
- YaCy bookmarks.db
+ YaCy bookmarks.db
YaCy Crawl-Starts

diff --git a/htroot/jquery/css/yacy-portalsearch.css b/htroot/jquery/css/yacy-portalsearch.css index 782085bcd..e9e462d68 100644 --- a/htroot/jquery/css/yacy-portalsearch.css +++ b/htroot/jquery/css/yacy-portalsearch.css @@ -4,6 +4,12 @@ .ui-dialog .ui-dialog-buttonpane button { font-size: 14px; } +.ui-autocomplete { + max-height: 350px; + overflow-y: auto; + overflow-x: hidden; + font-size: 1.0em; +} .ynav .ui-autocomplete-input { font-size: 14px; padding: 2px; @@ -27,12 +33,6 @@ text-align: left; font-size: 10px; } -.ui-autocomplete { - max-height: 350px; - overflow-y: auto; - overflow-x: hidden; - font-size: 1.0em; -} #yacylivesearch form * { display: inline; diff --git a/htroot/jquery/css/yacy-ymarks.css b/htroot/jquery/css/yacy-ymarks.css index 33e01b26e..81c02396f 100644 --- a/htroot/jquery/css/yacy-ymarks.css +++ b/htroot/jquery/css/yacy-ymarks.css @@ -23,33 +23,33 @@ } /* YaCy Bookmarks ---------------------------*/ -#ymarks_body .url { +#ymarks_flexigrid .url { padding-top: 1px; font-size: 0.9em; line-height: 1.2em; margin-bottom:0.6em; } -#ymarks_body h3.linktitle { +#ymarks_flexigrid h3.linktitle { margin-top:2px; margin-bottom: -0.5em; font-size: 1.0em; line-height: 1.2em; color:#239AFF; } -#ymarks_body h3.linktitle a { +#ymarks_flexigrid h3.linktitle a { color:#239AFF; text-decoration:none; } -#ymarks_body p.url a { +#ymarks_flexigrid p.url a { color:#20A020; text-decoration:none; } -#ymarks_body .tag { +#ymarks_flexigrid .tag { font-size: 1.1em; line-height: 1.3em; color:#20A020; } -#ymarks_body .desc { +#ymarks_flexigrid .desc { font-style:italic; font-size: 0.9em; color: #808080; diff --git a/htroot/jquery/js/yacy-portalsearch.js b/htroot/jquery/js/yacy-portalsearch.js index df72045f5..d3d0a5021 100644 --- a/htroot/jquery/js/yacy-portalsearch.js +++ b/htroot/jquery/js/yacy-portalsearch.js @@ -120,19 +120,19 @@ function yrun() { $("#yquery").setValue(''); }, drag: function(event, ui) { - var position = $(".ui-dialog").position(); - var left = $(".ui-dialog").width()+5+position.left; + var position = $("#ypopup").parent(".ui-dialog").position(); + var left = $("#ypopup").parent(".ui-dialog").width()+5+position.left; $("#yside").dialog('option', 'position', [left,position.top+32]); }, dragStop: function(event, ui) { - var position = $(".ui-dialog").position(); - var left = $(".ui-dialog").width()+5+position.left; + var position = $("#ypopup").parent(".ui-dialog").position(); + var left = $("#ypopup").parent(".ui-dialog").width()+5+position.left; $("#yside").dialog('option', 'position', [left,position.top+32]); }, resizeStop: function(event, ui) { - var position = $(".ui-dialog").position(); - var height = $(".ui-dialog").height()-55; - var left = $(".ui-dialog").width()+5+position.left; + var position = $("#ypopup").parent(".ui-dialog").position(); + var height = $("#ypopup").parent(".ui-dialog").height()-55; + var left = $("#ypopup").parent(".ui-dialog").width()+5+position.left; $("#yside").dialog('option', 'height', height); $("#yside").dialog('option', 'position', [left,position.top+32]); }, @@ -141,22 +141,22 @@ function yrun() { $('#yside').remove(); }, open: function(event, ui) { - $('

').insertAfter(".ui-dialog-content"); - var position = $(".ui-dialog").position(); + $('
').insertAfter("#ypopup").parent(".ui-dialog-content"); + var position = $("#ypopup").parent(".ui-dialog").position(); $("#yside").dialog({ title: 'Navigation', autoOpen: false, draggable: false, resizable: false, width: 220, - height: $(".ui-dialog").height()-55, - minHeight: $(".ui-dialog").height()-55, + height: $("#ypopup").parent(".ui-dialog").height()-55, + minHeight: $("#ypopup").parent(".ui-dialog").height()-55, show: 'slide', hide: 'slide', - position : [position.left+$(".ui-dialog").width()+5,position.top+32], + position : [position.left+$("#ypopup").parent(".ui-dialog").width()+5,position.top+32], open: function(event, ui) { $('div.ui-widget-shadow').remove(); - $('ypopup').dialog( 'moveToTop' ); + $('#ypopup').dialog( 'moveToTop' ); } }); $('.ui-widget-shadow').remove();