Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
* fixed a bug in ie: class-names for image-snippets were set, but had no influence on ie, they have to be set with className = * fixed a bug in safari (hopefully, sorry that I removed the old fix, the divs): yacy-logo is now above the fieldset, the fieldset clears and has a margin-left set * fixed a bug with the dls: for example in ViewProfile.html the dt's (the terms/keys) had not the same height as the dd's, so the dt's were not in the same row with the coresponding dd's towards the bottom * moved my new css-classes to the right place in base.css
michitux56b30d65936e
diff --git a/htroot/env/base.css b/htroot/env/base.cssindex 3e50cde97..d0a2daa82 100644--- a/htroot/env/base.css+++ b/htroot/env/base.css@@ -201,20 +201,6 @@ tt, *.tt {float: left;}-.thumblink {- display:block;- width: 96px;- height: 96px;- margin: 2px;- line-height: 96px;- text-align: center;- overflow: hidden;-}--.thumblink img {- vertical-align: bottom;-}-.hides .hoverShow {display: none;}@@ -323,7 +309,7 @@ form.search.small p.yacylogo { /* The logo in yacysearch.html */display:block;float:left;padding:0;- margin:5px;+ margin: 0 5px 5px;width:70px;}@@ -445,6 +431,16 @@ ul.SubMenu a.MenuItemLink{margin-top:0;}+a.thumblink {+ display:block;+ width: 96px;+ height: 96px;+ margin: 2px;+ line-height: 96px;+ text-align: center;+ overflow: hidden;+}+/*----------<em>*/@@ -508,14 +504,14 @@ li.menugroup {dl.pairs dd {padding:0.2em 0.5em;- margin:2px 0 2px 18.3em;+ margin:0 0 2px 18.3em;}form dt, dl.pairs dt {float:left;clear:left;width:17em;- margin:0 2px 0.5em 2px;+ margin:0 0 2px;padding:0.2em 0.5em;text-align:right;}@@ -561,6 +557,11 @@ fieldset.yacysearch {form.PeerControl fieldset { /* on Status.html */text-align:right;}++form.search.small fieldset {+ clear:left;+ margin-left:85px;+}/*----------<img>*/@@ -570,6 +571,10 @@ img.bookmarkIcon, img.deleteIcon, img.recommendIcon {width: 11px;}+.thumblink img {+ vertical-align: bottom;+}+/* site specific ------------------------------------*/body#Blacklist fieldset.editList {diff --git a/htroot/js/yacysearch.js b/htroot/js/yacysearch.jsindex 625bd53cf..d339faa7c 100644--- a/htroot/js/yacysearch.js+++ b/htroot/js/yacysearch.js@@ -131,7 +131,7 @@ function handleMediaState(req) {col2.appendChild(linkanchor);var row = document.createElement("tr");- row.setAttribute("class", "TableCellDark");+ row.className = "TableCellDark";row.appendChild(col1);row.appendChild(col2);@@ -171,7 +171,7 @@ function handleImageState(req) {var imganchor = document.createElement("a");imganchor.setAttribute("href", href);- imganchor.setAttribute("class", "thumblink")+ imganchor.className = "thumblink";imganchor.appendChild(img);var nameanchor = document.createElement("a");@@ -180,11 +180,11 @@ function handleImageState(req) {var textcontainer = document.createElement("div");- textcontainer.setAttribute("class", "TableCellDark");+ textcontainer.className = "TableCellDark";textcontainer.appendChild(nameanchor);var thumbcontainer = document.createElement("div");- thumbcontainer.setAttribute("class", "thumbcontainer");+ thumbcontainer.className = "thumbcontainer";thumbcontainer.appendChild(imganchor);thumbcontainer.appendChild(textcontainer);div.appendChild(thumbcontainer);