Benutzer:Rainer Lippert/Sortierbare Tabelle/Quelltexte
Zur Navigation springen
Zur Suche springen
Skript für den Headbereich
[Bearbeiten | Quelltext bearbeiten]Abspeichern als sorttable-edit.js und unter
Design→Eigenes Layout→Dateien
hochladen:Skript von http://www.kryogenix.org/code/browser/sorttable/ (geänderte und ergänzte Zeilen hervorgehoben)
/*
SortTable
version 2
7th April 2007
Stuart Langridge, http://www.kryogenix.org/code/browser/sorttable/
Instructions:
Download this file
Add <script src="sorttable.js"></script> to your HTML
Add class="sortable" to any table you'd like to make sortable
Click on the headers to sort
Thanks to many, many people for contributions and suggestions.
Licenced as X11: http://www.kryogenix.org/code/browser/licence.html
This basically means: do what you want with it.
*/
var stIsIE = /*@cc_on!@*/false;
sorttable = {
init: function() {
// quit if this function has already been called
if (arguments.callee.done) return;
// flag this function so we don't do the same thing twice
arguments.callee.done = true;
// kill the timer
if (_timer) clearInterval(_timer);
if (!document.createElement || !document.getElementsByTagName) return;
sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/;
forEach(document.getElementsByTagName('table'), function(table) {
if (table.className.search(/\bsortable\b/) != -1) {
sorttable.makeSortable(table);
}
});
},
makeSortable: function(table) {
if (table.getElementsByTagName('thead').length == 0) {
// table doesn't have a tHead. Since it should have, create one and
// put the first table row in it.
the = document.createElement('thead');
the.appendChild(table.rows[0]);
table.insertBefore(the,table.firstChild);
}
// Safari doesn't support table.tHead, sigh
if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0];
if (table.tHead.rows.length != 1) return; // can't cope with two header rows
// Sorttable v1 put rows with a class of "sortbottom" at the bottom (as
// "total" rows, for example). This is B&R, since what you're supposed
// to do is put them in a tfoot. So, if there are sortbottom rows,
// for backwards compatibility, move them to tfoot (creating it if needed).
sortbottomrows = [];
for (var i=0; i<table.rows.length; i++) {
if (table.rows[i].className.search(/\bsortbottom\b/) != -1) {
sortbottomrows[sortbottomrows.length] = table.rows[i];
}
}
if (sortbottomrows) {
if (table.tFoot == null) {
// table doesn't have a tfoot. Create one.
tfo = document.createElement('tfoot');
table.appendChild(tfo);
}
for (var i=0; i<sortbottomrows.length; i++) {
tfo.appendChild(sortbottomrows[i]);
}
delete sortbottomrows;
}
// work through each column and calculate its type
headrow = table.tHead.rows[0].cells;
for (var i=0; i<headrow.length; i++) {
// manually override the type with a sorttable_type attribute
if (!headrow[i].className.match(/\bsorttable_nosort\b/)) { // skip this col
mtch = headrow[i].className.match(/\bsorttable_([a-z0-9]+)\b/);
if (mtch) { override = mtch[1]; }
if (mtch && typeof sorttable["sort_"+override] == 'function') {
headrow[i].sorttable_sortfunction = sorttable["sort_"+override];
} else {
headrow[i].sorttable_sortfunction = sorttable.guessType(table,i);
}
// make it clickable to sort
headrow[i].sorttable_columnindex = i;
headrow[i].sorttable_tbody = table.tBodies[0];
dean_addEvent(headrow[i],"click", sorttable.innerSortFunction = function(e) {
if (this.className.search(/\bsorttable_sorted\b/) != -1) {
// if we're already sorted by this column, just
// reverse the table, which is quicker
sorttable.reverse(this.sorttable_tbody);
this.className = this.className.replace('sorttable_sorted',
'sorttable_sorted_reverse');
this.removeChild(document.getElementById('sorttable_sortfwdind'));
sortrevind = document.createElement('span');
sortrevind.id = "sorttable_sortrevind";
sortrevind.innerHTML = stIsIE ? ' <font face="webdings">5</font>' : ' ▴';
this.appendChild(sortrevind);
return;
}
if (this.className.search(/\bsorttable_sorted_reverse\b/) != -1) {
// if we're already sorted by this column in reverse, just
// re-reverse the table, which is quicker
sorttable.reverse(this.sorttable_tbody);
this.className = this.className.replace('sorttable_sorted_reverse',
'sorttable_sorted');
this.removeChild(document.getElementById('sorttable_sortrevind'));
sortfwdind = document.createElement('span');
sortfwdind.id = "sorttable_sortfwdind";
sortfwdind.innerHTML = stIsIE ? ' <font face="webdings">6</font>' : ' ▾';
this.appendChild(sortfwdind);
return;
}
// remove sorttable_sorted classes
theadrow = this.parentNode;
forEach(theadrow.childNodes, function(cell) {
if (cell.nodeType == 1) { // an element
cell.className = cell.className.replace('sorttable_sorted_reverse','');
cell.className = cell.className.replace('sorttable_sorted','');
}
});
sortfwdind = document.getElementById('sorttable_sortfwdind');
if (sortfwdind) { sortfwdind.parentNode.removeChild(sortfwdind); }
sortrevind = document.getElementById('sorttable_sortrevind');
if (sortrevind) { sortrevind.parentNode.removeChild(sortrevind); }
this.className += ' sorttable_sorted';
sortfwdind = document.createElement('span');
sortfwdind.id = "sorttable_sortfwdind";
sortfwdind.innerHTML = stIsIE ? ' <font face="webdings">6</font>' : ' ▾';
this.appendChild(sortfwdind);
// build an array to sort. This is a Schwartzian transform thing,
// i.e., we "decorate" each row with the actual sort key,
// sort based on the sort keys, and then put the rows back in order
// which is a lot faster because you only do getInnerText once per row
row_array = [];
col = this.sorttable_columnindex;
rows = this.sorttable_tbody.rows;
for (var j=0; j<rows.length; j++) {
row_array[row_array.length] = [sorttable.getInnerText(rows[j].cells[col]), rows[j]];
}
/* If you want a stable sort, uncomment the following line */
sorttable.shaker_sort(row_array, this.sorttable_sortfunction);
/* and comment out this one */
//row_array.sort(this.sorttable_sortfunction);
row_array.reverse(); //ergänzt, siehe Dok. auf Website
tb = this.sorttable_tbody;
for (var j=0; j<row_array.length; j++) {
tb.appendChild(row_array[j][1]);
}
delete row_array;
});
}
}
},
guessType: function(table, column) {
// guess the type of a column based on its first non-blank row
sortfn = sorttable.sort_alpha;
for (var i=0; i<table.tBodies[0].rows.length; i++) {
text = sorttable.getInnerText(table.tBodies[0].rows[i].cells[column]);
if (text != '') {
if (text.match(/^-?[£$¤]?[\d,.]+%?$/)) {
return sorttable.sort_numeric;
}
// check for a date: dd/mm/yyyy or dd/mm/yy
// can have / or . or - as separator
// can be mm/dd as well
possdate = text.match(sorttable.DATE_RE)
if (possdate) {
// looks like a date
first = parseInt(possdate[1]);
second = parseInt(possdate[2]);
if (first > 12) {
// definitely dd/mm
return sorttable.sort_ddmm;
} else if (second > 12) {
return sorttable.sort_mmdd;
} else {
// looks like a date, but we can't tell which, so assume
// that it's dd/mm (English imperialism!) and keep looking
sortfn = sorttable.sort_ddmm;
}
}
}
}
return sortfn;
},
getInnerText: function(node) {
// gets the text we want to use for sorting for a cell.
// strips leading and trailing whitespace.
// this is *not* a generic getInnerText function; it's special to sorttable.
// for example, you can override the cell text with a customkey attribute.
// it also gets .value for <input> fields.
if (!node) return "";
hasInputs = (typeof node.getElementsByTagName == 'function') &&
node.getElementsByTagName('input').length;
if (node.getAttribute("sorttable_customkey") != null) {
return node.getAttribute("sorttable_customkey");
}
else if (typeof node.textContent != 'undefined' && !hasInputs) {
return node.textContent.replace(/^\s+|\s+$/g, '');
}
else if (typeof node.innerText != 'undefined' && !hasInputs) {
return node.innerText.replace(/^\s+|\s+$/g, '');
}
else if (typeof node.text != 'undefined' && !hasInputs) {
return node.text.replace(/^\s+|\s+$/g, '');
}
else {
switch (node.nodeType) {
case 3:
if (node.nodeName.toLowerCase() == 'input') {
return node.value.replace(/^\s+|\s+$/g, '');
}
case 4:
return node.nodeValue.replace(/^\s+|\s+$/g, '');
break;
case 1:
case 11:
var innerText = '';
for (var i = 0; i < node.childNodes.length; i++) {
innerText += sorttable.getInnerText(node.childNodes[i]);
}
return innerText.replace(/^\s+|\s+$/g, '');
break;
default:
return '';
}
}
},
reverse: function(tbody) {
// reverse the rows in a tbody
newrows = [];
for (var i=0; i<tbody.rows.length; i++) {
newrows[newrows.length] = tbody.rows[i];
}
for (var i=newrows.length-1; i>=0; i--) {
tbody.appendChild(newrows[i]);
}
delete newrows;
},
/* sort functions
each sort function takes two parameters, a and b
you are comparing a[0] and b[0] */
sort_numeric: function(a,b) {
aa = parseFloat(a[0].replace(/[^0-9.-]/g,''));
if (isNaN(aa)) aa = 0;
bb = parseFloat(b[0].replace(/[^0-9.-]/g,''));
if (isNaN(bb)) bb = 0;
return aa-bb;
},
sort_alpha: function(a,b) {
if (a[0]==b[0]) return 0;
if (a[0]<b[0]) return -1;
return 1;
},
sort_ddmm: function(a,b) {
mtch = a[0].match(sorttable.DATE_RE);
y = mtch[3]; m = mtch[2]; d = mtch[1];
if (m.length == 1) m = '0'+m;
if (d.length == 1) d = '0'+d;
dt1 = y+m+d;
mtch = b[0].match(sorttable.DATE_RE);
y = mtch[3]; m = mtch[2]; d = mtch[1];
if (m.length == 1) m = '0'+m;
if (d.length == 1) d = '0'+d;
dt2 = y+m+d;
if (dt1==dt2) return 0;
if (dt1<dt2) return -1;
return 1;
},
sort_mmdd: function(a,b) {
mtch = a[0].match(sorttable.DATE_RE);
y = mtch[3]; d = mtch[2]; m = mtch[1];
if (m.length == 1) m = '0'+m;
if (d.length == 1) d = '0'+d;
dt1 = y+m+d;
mtch = b[0].match(sorttable.DATE_RE);
y = mtch[3]; d = mtch[2]; m = mtch[1];
if (m.length == 1) m = '0'+m;
if (d.length == 1) d = '0'+d;
dt2 = y+m+d;
if (dt1==dt2) return 0;
if (dt1<dt2) return -1;
return 1;
},
shaker_sort: function(list, comp_func) {
// A stable sort function to allow multi-level sorting of data
// see: http://en.wikipedia.org/wiki/Cocktail_sort
// thanks to Joseph Nahmias
var b = 0;
var t = list.length - 1;
var swap = true;
while(swap) {
swap = false;
for(var i = b; i < t; ++i) {
if ( comp_func(list[i], list[i+1]) > 0 ) {
var q = list[i]; list[i] = list[i+1]; list[i+1] = q;
swap = true;
}
} // for
t--;
if (!swap) break;
for(var i = t; i > b; --i) {
if ( comp_func(list[i], list[i-1]) < 0 ) {
var q = list[i]; list[i] = list[i-1]; list[i-1] = q;
swap = true;
}
} // for
b++;
} // while(swap)
}
}
/* ******************************************************************
Supporting functions: bundled here to avoid depending on a library
****************************************************************** */
// Dean Edwards/Matthias Miller/John Resig
/* for Mozilla/Opera9 */
if (document.addEventListener) {
document.addEventListener("DOMContentLoaded", sorttable.init, false);
}
/* for Internet Explorer */
/*@cc_on @*/
/*@if (@_win32)
document.write("<script id=__ie_onload defer src=javascript:void(0)><\/script>");
var script = document.getElementById("__ie_onload");
script.onreadystatechange = function() {
if (this.readyState == "complete") {
sorttable.init(); // call the onload handler
}
};
/*@end @*/
/* for Safari */
if (/WebKit/i.test(navigator.userAgent)) { // sniff
var _timer = setInterval(function() {
if (/loaded|complete/.test(document.readyState)) {
sorttable.init(); // call the onload handler
}
}, 10);
}
/* for other browsers */
window.onload = sorttable.init;
// written by Dean Edwards, 2005
// with input from Tino Zijdel, Matthias Miller, Diego Perini
// http://dean.edwards.name/weblog/2005/10/add-event/
function dean_addEvent(element, type, handler) {
if (element.addEventListener) {
element.addEventListener(type, handler, false);
} else {
// assign each event handler a unique ID
if (!handler.$$guid) handler.$$guid = dean_addEvent.guid++;
// create a hash table of event types for the element
if (!element.events) element.events = {};
// create a hash table of event handlers for each element/event pair
var handlers = element.events[type];
if (!handlers) {
handlers = element.events[type] = {};
// store the existing event handler (if there is one)
if (element["on" + type]) {
handlers[0] = element["on" + type];
}
}
// store the event handler in the hash table
handlers[handler.$$guid] = handler;
// assign a global event handler to do all the work
element["on" + type] = handleEvent;
}
};
// a counter used to create unique IDs
dean_addEvent.guid = 1;
function removeEvent(element, type, handler) {
if (element.removeEventListener) {
element.removeEventListener(type, handler, false);
} else {
// delete the event handler from the hash table
if (element.events && element.events[type]) {
delete element.events[type][handler.$$guid];
}
}
};
function handleEvent(event) {
var returnValue = true;
// grab the event object (IE uses a global event object)
event = event || fixEvent(((this.ownerDocument || this.document || this).parentWindow || window).event);
// get a reference to the hash table of event handlers
var handlers = this.events[event.type];
// execute each event handler
for (var i in handlers) {
this.$$handleEvent = handlers[i];
if (this.$$handleEvent(event) === false) {
returnValue = false;
}
}
return returnValue;
};
function fixEvent(event) {
// add W3C standard event methods
event.preventDefault = fixEvent.preventDefault;
event.stopPropagation = fixEvent.stopPropagation;
return event;
};
fixEvent.preventDefault = function() {
this.returnValue = false;
};
fixEvent.stopPropagation = function() {
this.cancelBubble = true;
}
// Dean's forEach: http://dean.edwards.name/base/forEach.js
/*
forEach, version 1.0
Copyright 2006, Dean Edwards
License: http://www.opensource.org/licenses/mit-license.php
*/
// array-like enumeration
if (!Array.forEach) { // mozilla already supports this
Array.forEach = function(array, block, context) {
for (var i = 0; i < array.length; i++) {
block.call(context, array[i], i, array);
}
};
}
// generic enumeration
Function.prototype.forEach = function(object, block, context) {
for (var key in object) {
if (typeof this.prototype[key] == "undefined") {
block.call(context, object[key], key, object);
}
}
};
// character enumeration
String.forEach = function(string, block, context) {
Array.forEach(string.split(""), function(chr, index) {
block.call(context, chr, index, string);
});
};
// globally resolve forEach enumeration
var forEach = function(object, block, context) {
if (object) {
var resolve = Object; // default
if (object instanceof Function) {
// functions have a "length" property
resolve = Function;
} else if (object.forEach instanceof Function) {
// the object implements a custom forEach method so use that
object.forEach(block, context);
return;
} else if (typeof object == "string") {
// the object is a string
resolve = String;
} else if (typeof object.length == "number") {
// the object is array-like
resolve = Array;
}
resolve.forEach(object, block, context);
}
};
Nach
Einstellungen→Head bearbeiten
gehen und dort einfügen …… (vorher alles innerhalb von <script type="text/javascript">…</script>
entfernen):
<script type="text/javascript">
//<![CDATA[
/*
SortTable, version 2, 7th April 2007
Stuart Langridge, http://www.kryogenix.org/code/browser/sorttable/
--oben separat geladen, bearbeitet, siehe im Script und Dok. auf Website--
*/
sorttable.sort_alpha = function(a,b) { return a[0].localeCompare(b[0], 'de'); } //ergänzt, siehe Script-Dok. auf Website
//]]>
</script>
Stylesheet für den Headbereich
[Bearbeiten | Quelltext bearbeiten]Für das Standardlayout
[Bearbeiten | Quelltext bearbeiten]Alles in
Design→Eigenes Layout→CSS
hiermit vollständig ersetzen:/*********************\
Eigene Schriftarten
\*********************/
/* ursprünglich von Google Fonts, alter Aufruf zur Dokumentation: */
/* @import url('https://fonts.googleapis.com/css?family=Molle:400i');
@import url('https://fonts.googleapis.com/css?family=Averia+Libre:400i,700i'); */
/* Lizenz für alle: SIL Open Font License (OFL) */
/* Schrift für den Haupttitel */
@font-face {
font-family: 'Molle';
font-style: italic;
font-weight: 400;
src: url(molle.woff2) format('woff2');
font-display: swap;
}
/* Schriften für die Kladden */
@font-face {
font-family: 'Averia Libre';
font-style: italic;
font-weight: 400;
src: url(averia-libre-normal.woff2) format('woff2');
font-display: swap;
}
@font-face {
font-family: 'Averia Libre';
font-style: italic;
font-weight: 700;
src: url(averia-libre-bold.woff2) format('woff2');
font-display: swap;
}
/********\
Layout
\********/
body {
background-color: #E0E0E0;
font: 15px/130% sans-serif; /* Backup, wird eigentlich später überschrieben */
color:black; /* ebenso */
margin: 0;
padding: 0;
}
#container {
position: relative;
top: 0;
left: 0;
background-color: #F8F8F8;
margin: 0 auto;
width: 1350px;
}
#header {
background-image: url(eiche-hg300x200.jpg);
background-color: tan;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
font-family: Molle, cursive;
font-style: italic;
line-height: 5em;
margin-bottom: 10px;
padding: 3.5em 30px 0.8em;
max-width: 1365px;
text-align: center;
}
#header #titel {
display: inline-block;
font-size: 6.75em;
margin-top: auto;
margin-bottom: auto;
}
#header #untertitel {
font-size: 40%;
text-align: right;
vertical-align: baseline;
}
#content {
float: right;
padding: 15px;
width: 1080px;
}
#footer {
clear: both;
height: 20px;
margin-top: 10px;
}
#footer .gutter {
height: 30px;
padding: 35px 15px 0 60px;
}
h1 { font: bold 35px/130% serif; } /* alle 3 Backup, werden eigentlich später überschrieben */
h2 { font: bold 25px/130% serif; }
h3 { font: bold 20px/130% serif; }
#content h1:first-of-type {
line-height: 100%;
margin-top: 0.25em;
margin-bottom: 0.25em;
}
p { text-align: justify; }
/* alle Linkeigenschaften hier nur Backup, da später überschrieben: */
a:link, a:visited {
color: black;
text-decoration: underline;
}
a:focus, a:active {
color: #4088C0;
text-decoration: underline;
}
a:hover,
a:focus-within {
color: #4088C0;
text-decoration:none;
}
/* Textauszeichnung für "monumental"/"Monumentale Eiche/-n" */
.merl { /* diese CSS-Klasse wird per Javascript eingefügt */
font-variant: small-caps;
text-transform: capitalize;
}
/*********\
Sidebar
\*********/
#sidebar {
float: left;
margin: 0;
width: 240px;
}
#sidebar .n { padding: 0; }
/* Google-Suchbox */
#___gcse_0 {
padding-top: 7px;
padding-bottom: 15px;
}
#___gcse_0 .gsc-control-cse {
background-color: transparent !important;
border: 0 !important;
padding: 0 !important;
margin-left: 15px !important; /* angepasst an Navigation */
margin-right: 0;
}
table.gsc-search-box {
margin: 0 !important;
padding: 0 !important;
}
table.gsc-search-box td.gsc-input {
height: 40px !important;
padding: 0 !important;
}
table.gsc-search-box input.gsc-search-button-v2 {
margin: -1px 0 1px !important;
padding: 3px;
vertical-align: middle;
}
td.gsc-input .gsc-input-box {
height: auto !important;
margin-left: 5px;
}
.gsc-input-box table td,
td.gsib_b #gs_st50 {
border: 0 !important;
padding: 0 !important;
}
.gsc-input-box table td.gsib_a {
background-color: white;
padding-left: 3px !important;
}
td.gsib_b a.gsst_a { padding: 0 2px !important; }
td.gsib_b #gs_cb50 {
margin: -1px 0 1px;
vertical-align: middle;
}
/************\
Navigation
\************/
#navigation {
font: normal 14px/140% Verdana, Geneva, sans-serif;
margin: 0;
}
#navigation ul {
list-style-type: none;
margin: 0;
}
#navigation ul.mainNav1 {
margin-left: 15px; /* angepasst an Suchbox */
padding-left: 0; }
#navigation ul.mainNav2,
#navigation ul.mainNav3 {
padding-left: 1.5em;
}
#navigation ul li { display; inline; }
#navigation ul li a {
display: block;
border-bottom: 1px solid #CCCCCC;
color: black;
padding-left: 0.5em;
padding-top: 0.15em;
text-decoration: none;
}
#navigation ul:first-of-type li:first-child a {
border-top: 1px solid #CCCCCC;
}
#navigation ul a.current {
background-color: #E4E4E4;
font-size: 90%;
font-weight: bold;
}
#navigation ul a:hover,
#navigation ul a:focus-within {
background-color: #CECECE;
color: black;
}
/* Brotkrümel/Breadcrumbs */
#breadcrumbs {
margin-top: -15px; /* zum Ausgleich des Top-Paddings des Content-Containers */
text-align: left;
}
#breadcrumbs ol {
display: block;
background-color: #F0F0F0;
font: 14px/100% Verdana, Geneva, sans-serif;
font-variant: small-caps;
letter-spacing: 1px;
list-style-type: none;
padding: 0.25em;
}
#breadcrumbs ol li {
display: inline-block;
margin-left: 0.25em;
margin-right: 0em;
}
#breadcrumbs ol li::after {
content: "\00BB";
padding-left: 0.5em;
}
#breadcrumbs ol li:last-child::after {
display: none;
}
#breadcrumbs ol li a {
display: block;
float: left;
position: relative;
color: dimgrey;
text-decoration: none;
vertical-align: bottom;
}
#breadcrumbs ol li a:focus,
#breadcrumbs ol li a:active,
#breadcrumbs ol li a:hover {
color: inherit;
text-decoration: underline;
}
#breadcrumbs ol li:nth-last-child(3) a,
#breadcrumbs ol li:nth-last-child(3)::after {
color: grey;
margin-top: -0.1em;
margin-bottom: 0.1em;
}
#breadcrumbs ol li:nth-last-child(2) a,
#breadcrumbs ol li:nth-last-child(2)::after {
color: dimgrey;
margin-top: -0.1em;
margin-bottom: 0.1em;
}
#breadcrumbs ol li:last-child a {
color: black;
}
#breadcrumbs ol li:nth-last-child(2)::after,
#breadcrumbs ol li:nth-last-child(3)::after {
display: inline-block;
vertical-align: top;
}
#breadcrumbs ol:empty {
display: none;
}
/**********\
Tabellen
\**********/
table {
background-color: #E4E4E4; /* ungerade Zeilen weiter unten heller gefärbt */
border: 2px solid black;
border-spacing: 0px;
border-collapse: collapse;
margin-left: auto;
margin-right: auto;
width: 99.5%;
}
table th, table td {
padding: 5px;
}
table thead,
table tfoot {
background-color: #CCCCCC;
height: 2.7em;
}
table thead th {
text-align: center;
vertical-align: middle;
}
table tfoot td {
font-size: 80%;
text-align: left;
}
tfoot td p { font-size: inherit; }
table tbody { border: 1px solid black; }
tbody tr:nth-child(odd) td, /* andere Färbung für ungerade Zeilen */
.rang tbody tr:nth-child(odd)::before { /* restlicher Code für Rangspalte unten */
background-color: #F0F0F0;
}
.liste thead tr th:nth-child(1), /* Ortschaft */
.dtliste thead tr th:nth-child(1), /* Ortschaft */
.liste thead tr th:nth-child(2), /* Name */
.dtliste thead tr th:nth-child(2), /* Name */
.ortliste thead tr th:nth-child(1), /* Name */
.dtliste thead tr th:nth-child(3) /* Bundesland */
{
text-align: left;
}
.liste tr td:nth-child(3), .liste tr td:nth-child(4), /* jeweils eine der anderen ... */
.liste tr td:nth-child(5), .liste tr td:nth-child(6), /* ... Spalten: Kat., BHU, ... */
.liste tr td:nth-child(7), .liste tr td:nth-child(8), /* ... Taille, Höhe, Breite, ... */
.dtliste tr td:nth-child(4), .dtliste tr td:nth-child(5), /* ... Alter, Jahr */
.dtliste tr td:nth-child(6), .dtliste tr td:nth-child(7),
.dtliste tr td:nth-child(8), .dtliste tr td:nth-child(9),
.dtliste tr td:nth-child(10),
.ortliste tr td:nth-child(2), .ortliste tr td:nth-child(3),
.ortliste tr td:nth-child(4), .ortliste tr td:nth-child(5),
.ortliste tr td:nth-child(6), .ortliste tr td:nth-child(7)
{
text-align: right;
}
/* Spalte 10 (Anmerkungen) in Fremdmeldungen siehe unten */
.liste tbody td,
.dtliste tbody td,
.ortliste tbody td {
padding-right: 10px;
}
.Name { width: 20.0em; }
.BLand { width: 4.94em; } /* in Dt.-Listen */
.Kat { width: 3.15em; } /* in Dt.-Listen */
.BHU { width: 4.15em; }
.Taille { width: 4.25em; }
.Hoehe { width: 3.77em; }
.Breite { width: 4.17em; }
.Alter { width: 5.86em; }
.Jahr { width: 3.36em; }
#dtld .Name { width: 17.5em; } /* Deutschlandübersicht */
/* siehe eigene Abschnitte unten für abweichende Breiten:
* Fremdmeldungen
* Lindenübersicht
* Top20-Tabelle
*/
/* Sortierbare Tabellen */
.sortable th {
cursor: pointer;
padding-right: 2px;
}
.sortable th::after,
th.sorttable_sorted::after,
th.sorttable_sorted_reverse::after {
content: "";
display: inline-block;
height: 10px;
width: 22px;
margin-top: auto;
margin-bottom: auto;
margin-left: -0.5em;
vertical-align: baseline;
background-repeat: no-repeat;
background-position: center right;
}
/* Sortierpfeile */
th.sorttable_sorted::after {
background-image: url(sort-down.png);
}
th.sorttable_sorted_reverse::after {
background-image: url(sort-up.png);
}
.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort)::after {
background-image: url(sort-both.png);
}
#sorttable_sortfwdind, #sorttable_sortrevind { display:none } /* hier nur als Backup, wirkt nur bei Einbindung nach dem Sortierskript */
/* Baumsteckbriefe/Kladden */
.kladde {
background-image: url(eiche-hg300x200.jpg);
background-color: tan;
border: none;
border-radius: 8px;
}
.kladde tbody {
border: none;
}
.kladde td {
font-family: 'Averia Libre', cursive;
font-size: 17px;
font-weight: 400; /* nur zur Sicherheit, 400 entspricht dem Standard "normal" */
padding: 2px 20px;
text-align: left;
}
.kladde td,
.kladde td em,
.kladde td i {
font-style: italic;
}
.kladde tr td:first-child,
.kladde td strong,
.kladde td b {
font-weight: 700; /* 700 entspricht "bold" */
}
.kladde tr td:first-child {
padding-right: 2px;
width: 11em;
}
.kladde tr td:last-child {
padding-left: 2px;
}
.kladde tr:first-child td {
padding-top: 18px; /* Seitenpadding außen minus Innenpadding oben/unten */
}
.kladde tr:last-child td {
padding-bottom: 18px; /* ebenso */
}
.kladde tbody tr:nth-child(odd) td {
background-color: inherit;
}
/* Baumentwicklung */
.messungen {
margin-top: 1em;
}
.messungen tbody tr td:first-child { /* Jahre */
text-align: center;
width: 2.25em;
}
.messungen tbody tr td:nth-child(2) { /* Messergebnisse */
text-align: right;
width: 3.75em;
}
.messungen tbody tr td:last-child { /* Autoren */
font-style: italic;
font-variant: small-caps;
letter-spacing: 0.05em;
padding-left: 10px;
}
/* Ranglistenspalte */
.rang tbody {
counter-reset: Rang;
}
.rang tbody tr::before { /* Definition für Hintergrundfärbung ... */
content: counter(Rang); /* ... ungerader Zeilen oben */
counter-increment: Rang;
}
.rang tr::before,
.rang tfoot tr::after {
display: table-cell;
padding-left: 5px;
padding-right: 10px;
text-align: right;
vertical-align: middle;
width: 2em;
}
.rang thead tr::before {
content: "#";
font-weight: bold;
}
.rang thead th:first-child,
.rang tbody td:first-child {
border-left: 1px solid #D8D8D8;
}
.rang tfoot tr::before { display: none; }
.rang tfoot tr::after { content: ""; }
/* Deutschland-Statistiktabellen */
.stat * { text-align: center; }
.stat th:first-child,
.stat td:first-child { /* siehe auch unten im Code für Flaggen */
text-align: left;
}
.stat tr th:nth-child(1), .stat tr td:nth-child(1),
#stat1 tr th:nth-child(5), #stat1 tr td:nth-child(5),
#stat2 tr th:nth-child(4), #stat2 tr td:nth-child(4) {
border-right: 1px solid #B4B4B4;
}
.stat tbody tr:nth-child(odd) td:first-child, /* 1. Spalte (Bundesländer) und in … */
#stat2 tbody tr:nth-child(odd) td:last-child { /* … 2. Tabelle letzte Spalte (Gesamtwerte) */
background-color: #E4E4E4; /* nur ungerade Zeilen */
}
.stat tbody tr:nth-child(even) td:first-child, /* hier ebenso für gerade Zeilen */
#stat2 tbody tr:nth-child(even) td:last-child {
background-color: #D8D8D8;
}
.stat tfoot tr:first-child td {
font-size: 100%;
font-weight: bold;
}
.stat tfoot tr:last-child td {
background-color: #E4E4E4;
border-top: 1px solid black;
}
#stat1 th:not(:first-child)::after,
#stat2 th:not(:first-child):not(:last-child)::after {
margin-top: -0.65em;
margin-bottom: 0.65em;
}
#stat2 th .kleiner { /* im Titel der 2. Statistiktabelle */
font-size: 80%;
font-style: italic;
font-weight: normal;
}
#stat1 .unsichtbar, /* zum Verstecken führender Nullen in den Statistiktabellen, … */
#stat2 .unsichtbar /* … da absichtlich keine Rechtsausrichtung */
{
visibility: hidden;
}
.stat thead .SpKopf, /* Statistik- und Fröhlich-Tabellen */
.froehlich thead .SpKopf {
display: inline-block;
}
/* Fröhlich-Tabellen */
.froehlich tr th:nth-child(2), /* Bezeichnung bei Fröhlich */
.froehlich tr th:nth-child(5) /* Quelle, Bemerkung */
{
text-align: left;
}
.froehlich th:nth-child(3)::after, /* BHU (Fröhlich) */
.froehlich th:nth-child(4)::after /* BHU (aktuell) */
{
margin-top: -0.65em;
margin-bottom: 0.65em;
}
.froehlich th:nth-child(1) { /* Nummernspalte */
width: 3.5em;
}
.froehlich tr th:nth-child(3) { /* BHU (Fröhlich) */
width: 5em;
}
.froehlich tr th:nth-child(4) { /* BHU (aktuell) */
width: 5em;
}
.froehlich tr th:nth-child(5) { /* Quelle, Bemerkung */
width: 22em;
}
.froehlich tr td:nth-child(1), /* Nummernspalte */
.froehlich tr td:nth-child(3), /* BHU (Fröhlich) */
.froehlich tr td:nth-child(4) /* BHU (aktuell) */
{
padding-right: 20px;
text-align: right;
}
.froehlich th .kleiner { /* im Titel der BHU-Spalten */
font-size: 85%;
font-style: italic;
}
/* Fremdmeldungen und
Lindenübersicht */
#fremd .Anm { width: 3.5em; } /* Anmerkungen */
#fremd .unsichtbar { display: none; }
#linden .Name { width: 18.0em; }
#linden .Lit { width: 6em; } /* Literatur */
#fremd tr td:nth-child(10), /* Anmerkungen */
#linden tr th:nth-child(10), #linden tr td:nth-child(10) /* Literatur */
{
text-align: left; /* übersteuert Regel für ".dtliste" */
}
/* Top20-Tabelle */
#top20 thead tr th:nth-child(1), /* Rang */
#top20 tbody tr td:nth-child(1) {
font-weight: bold;
text-align: right;
vertical-align: middle;
width: 1.6em;
}
#top20 thead tr th:nth-child(2), /* BHU */
#top20 tbody tr td:nth-child(2) {
text-align: right;
}
#top20 thead tr th:nth-child(3), /* Ortschaft */
#top20 thead tr th:nth-child(4) /* Name */
{
text-align: left;
}
#top20 thead tr th:nth-child(4) /* Name */
{
width: 17.5em;
}
#top20 tbody td {
padding-right: 10px;
}
/* Flaggen */
.stat tbody td:first-child::before, /* 1. Spalte in Statistiktabellen */
.stat tfoot tr:first-child td:first-child::before, /* Statistiktabellen, "Deutschland" im Tabellenfuß */
.dtliste tbody td:nth-child(3)::before {
background-image: url(flaggen.png);
background-repeat: no-repeat;
content: "";
display: inline-block;
height: 16px;
width: 24px;
margin-top: auto;
margin-bottom: auto;
margin-right: 2px;
overflow: hidden;
padding: 0;
vertical-align: text-bottom;
}
.bw::before { background-position: 0 0; } /* Baden-Württemberg */
.bay::before { background-position: 0 -16px; } /* Bayern */
.bln::before { background-position: 0 -32px; } /* Berlin */
.brb::before { background-position: 0 -48px; } /* Brandenburg */
.bre::before { background-position: 0 -64px; } /* Bremen */
.ham::before { background-position: 0 -80px; } /* Hamburg */
.hes::before { background-position: 0 -96px; } /* Hessen */
.mv::before { background-position: 0 -112px; } /* Mecklenburg-Vorpommern */
.nds::before { background-position: 0 -128px; } /* Niedersachsen */
.nrw::before { background-position: 0 -144px; } /* Nordrhein-Westfalen */
.rlp::before { background-position: 0 -160px; } /* Rheinland-Pfalz */
.sl::before { background-position: 0 -176px; } /* Saarland */
.sn::before { background-position: 0 -192px; } /* Sachsen */
.st::before { background-position: 0 -208px; } /* Sachsen-Anhalt */
.sh::before { background-position: 0 -224px; } /* Schleswig-Holstein */
.th::before { background-position: 0 -240px; } /* Thüringen */
.dtl::before { background-position: 0 -256px; } /* Deutschland */
/* Mausover-Länderinfo */
.dtliste tbody td:nth-child(3) {
position: relative;
z-index: 0;
vertical-align: middle;
}
.dtliste tbody td:nth-child(3) span {
position: absolute;
left:-10000em;
z-index: 1;
visibility: hidden;
}
.dtliste tbody td:nth-child(3):hover {
cursor: help;
}
.dtliste tbody td:nth-child(3):hover span,
.dtliste tbody td:nth-child(3):focus-within span {
visibility: visible;
left: 4em;
top: -0.5em;
background-color: #666666;
color: #F0F0F0;
font-size: 90%;
font-weight: bold;
padding: 0 5px;
white-space: nowrap;
}
.dtliste .bw::after { content: "BW" ; } /* Baden-Württemberg */
.dtliste .bay::after { content: "BAY"; } /* Bayern */
.dtliste .bln::after { content: "BLN"; } /* Berlin */
.dtliste .brb::after { content: "BRB"; } /* Brandenburg */
.dtliste .bre::after { content: "BRE"; } /* Bremen */
.dtliste .ham::after { content: "HAM"; } /* Hamburg */
.dtliste .hes::after { content: "HES"; } /* Hessen */
.dtliste .mv::after { content: "MV" ; } /* Mecklenburg-Vorpommern */
.dtliste .nds::after { content: "NDS"; } /* Niedersachsen */
.dtliste .nrw::after { content: "NRW"; } /* Nordrhein-Westfalen */
.dtliste .rlp::after { content: "RLP"; } /* Rheinland-Pfalz */
.dtliste .sl::after { content: "SL" ; } /* Saarland */
.dtliste .sn::after { content: "SN" ; } /* Sachsen */
.dtliste .st::after { content: "ST" ; } /* Sachsen-Anhalt */
.dtliste .sh::after { content: "SH" ; } /* Schleswig-Holstein */
.dtliste .th::after { content: "TH" ; } /* Thüringen */
/***********\
Textboxen
\***********/
.textbox {
background-color: #E0E0E0;
border: 2px solid black;
border-radius: 15px;
padding: 15px;
text-align: justify;
}
.textbox p { margin-top: 0.75em; }
.textbox p:first-child {margin-top: 0; }
.koord { text-align: center; }
.update { text-align: right; }
.daten {
display: inline-block;
background-color: #E0E0E0;
border: 2px solid black;
border-radius: 5px;
font-size: 80%;
margin: 0 auto;
padding: 0.15em 0.5em;
text-align: center;
}
.daten p {
margin: 0;
text-align: inherit;
}
.literatur { background-color: tan; }
.literatur ul { padding-left: 0; }
.isbn { white-space: nowrap; }
In den Headbereich nach dem obigen Javascript-Code einfügen:
<style type="text/css">
/*<![CDATA[*/
#sorttable_sortfwdind, #sorttable_sortrevind {display:none}
a:link, a:visited {color:black; text-decoration:underline}
a:focus, a:active {color: #4088C0; text-decoration:underline}
a:hover {color: #4088C0; text-decoration:none}
/*]]>*/
</style>
Für das Mobillayout
[Bearbeiten | Quelltext bearbeiten]Alles in
Design→Custom-Layout (CSS)
hiermit vollständig ersetzen (mit Code für schwarze Sortierpfeile):/* Sortierpfeile */
.mobile #sorttable_sortfwdind, .mobile #sorttable_sortrevind { display:none }
/**/
.mobile .sortable th {cursor: pointer;}
.mobile .sortable th::after,
.mobile th.sorttable_sorted::after,
.mobile th.sorttable_sorted_reverse::after {
content: "";
display: inline-block;
height: 10px;
width: 22px;
margin-top: auto;
margin-bottom: auto;
margin-left: -0.5em;
vertical-align: baseline;
background-repeat: no-repeat;
background-position: center right;
}
.mobile th.sorttable_sorted::after {background-image:url('sort-down.png');}
.mobile th.sorttable_sorted_reverse::after {background-image:url('sort-up.png');}
.mobile .sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort)::after {
background-image:url('sort-both.png');}
.mobile .unsichtbar {visibility: hidden}
.mobile .liste tr td:nth-child(3),
.mobile .liste tr td:nth-child(4),
.mobile .liste tr td:nth-child(5),
.mobile .liste tr td:nth-child(6),
.mobile .liste tr td:nth-child(7),
.mobile .liste tr td:nth-child(8),
.mobile .ortliste tr td:nth-child(2),
.mobile .ortliste tr td:nth-child(3),
.mobile .ortliste tr td:nth-child(4),
.mobile .ortliste tr td:nth-child(5),
.mobile .ortliste tr td:nth-child(6),
.mobile .ortliste tr td:nth-child(7) {
text-align: right;
}
.mobile .stat * { text-align: center; }
/**/
/*.mobile .stat th:first-child,*/
.mobile .stat td:first-child {
text-align: left;
}
/* Code für Flaggen */
.mobile .stat tbody td:first-child::before,
.mobile .stat tfoot tr:first-child td:first-child::before,
.mobile .dtliste tbody td:nth-child(3)::before {
background-image:url('flaggen.png');
background-repeat: no-repeat;
border: 1px solid whitesmoke;
content: "";
display: inline-block;
height: 16px;
width: 24px;
margin-top: auto;
margin-bottom: auto;
margin-right: 2px;
overflow: hidden;
padding: 0;
vertical-align: text-bottom;
visibility: visible;
}
.mobile .bw::before { background-position: 0 0; }
.mobile .bay::before { background-position: 0 -16px; }
.mobile .bln::before { background-position: 0 -32px; }
.mobile .brb::before { background-position: 0 -48px; }
.mobile .bre::before { background-position: 0 -64px; }
.mobile .ham::before { background-position: 0 -80px; }
.mobile .hes::before { background-position: 0 -96px; }
.mobile .mv::before { background-position: 0 -112px; }
.mobile .nds::before { background-position: 0 -128px; }
.mobile .nrw::before { background-position: 0 -144px; }
.mobile .rlp::before { background-position: 0 -160px; }
.mobile .sl::before { background-position: 0 -176px; }
.mobile .sn::before { background-position: 0 -192px; }
.mobile .st::before { background-position: 0 -208px; }
.mobile .sh::before { background-position: 0 -224px; }
.mobile .th::before { background-position: 0 -240px; }
.mobile .dtl::before { background-position: 0 -256px; }
/* Code für Kürzel und Länderinfo */
.mobile .BLand,
.mobile .stat tbody td:first-child,
.mobile .stat tfoot tr:first-child td:first-child {
width: 5em;
}
.mobile .stat tbody td:first-child,
.mobile .stat tfoot tr:first-child td:first-child,
.mobile .dtliste tbody td:nth-child(3) {
position: relative;
z-index: 0;
vertical-align: middle;
}
.mobile .stat tbody td:first-child span,
.mobile .stat tfoot tr:first-child td:first-child span,
.mobile .dtliste tbody td:nth-child(3) span {
position: absolute;
left:-10000em;
z-index: 1;
visibility: hidden;
}
.mobile .stat tbody td:first-child:active span,
.mobile .stat tfoot tr:first-child:active td:first-child span,
.mobile .dtliste tbody td:nth-child(3):active span {
visibility: visible;
left: 4em;
top: -0.5em;
background-color: #666666;
color: #F0F0F0;
font-size: 90%;
font-weight: bold;
padding: 0 5px;
white-space: nowrap;
}
.mobile .stat tbody td:first-child:active span a,
.mobile .stat tfoot tr:first-child:active td:first-child span a,
.mobile .dtliste tbody td:nth-child(3):active span a {
color: #F0F0F0;
}
.mobile .stat .bw::after , .mobile .dtliste .bw::after { content: "BW" ; }
.mobile .stat .bay::after, .mobile .dtliste .bay::after { content: "BAY"; }
.mobile .stat .bln::after, .mobile .dtliste .bln::after { content: "BLN"; }
.mobile .stat .brb::after, .mobile .dtliste .brb::after { content: "BRB"; }
.mobile .stat .bre::after, .mobile .dtliste .bre::after { content: "BRE"; }
.mobile .stat .ham::after, .mobile .dtliste .ham::after { content: "HAM"; }
.mobile .stat .hes::after, .mobile .dtliste .hes::after { content: "HES"; }
.mobile .stat .mv::after , .mobile .dtliste .mv::after { content: "MV" ; }
.mobile .stat .nds::after, .mobile .dtliste .nds::after { content: "NDS"; }
.mobile .stat .nrw::after, .mobile .dtliste .nrw::after { content: "NRW"; }
.mobile .stat .rlp::after, .mobile .dtliste .rlp::after { content: "RLP"; }
.mobile .stat .sl::after , .mobile .dtliste .sl::after { content: "SL" ; }
.mobile .stat .sn::after , .mobile .dtliste .sn::after { content: "SN" ; }
.mobile .stat .st::after , .mobile .dtliste .st::after { content: "ST" ; }
.mobile .stat .sh::after , .mobile .dtliste .sh::after { content: "SH" ; }
.mobile .stat .th::after , .mobile .dtliste .th::after { content: "TH" ; }
.mobile .stat .dtl::after { content: "Dtl."; }
Grundgerüst für die Seiten
[Bearbeiten | Quelltext bearbeiten]Alles in
Design→Eigenes Layout→HTML
hiermit vollständig ersetzen:<!--
Favicon und Mobile-Touch-Icon basieren auf
https://commons.wikimedia.org/wiki/File:WikiVoc-acorn-1.svg
-->
<div id="container">
<div id="header">
<div id="titel">
Monumentale Eichen
<div id="untertitel">
by Rainer Lippert
</div>
</div>
</div>
<div id="sidebar">
<var>sidebar</var>
<div id="navigation">
<var>navigation[1|2|3]</var>
</div>
</div>
<div id="content">
<div id="breadcrumbs">
<var variant="breadcrumb" edit="0">navigation</var>
</div>
<var>content</var>
</div>
<div id="footer">
<div class="gutter">
<var>footer</var>
</div>
</div>
</div>
<script type="text/javascript">
//<![CDATA[
/**
* findAndReplaceDOMText v 0.4.6
* @author James Padolsey http://james.padolsey.com
* @license http://unlicense.org/UNLICENSE
*
* documentation & download: https://github.com/padolsey/findAndReplaceDOMText
**/
var FRDTEditHost = 'cms.e.jimdo.com',
FRDTlocation = window.location.host;
if (FRDTlocation != FRDTEditHost) {
findAndReplaceDOMText(document.getElementById('content'), {
find: /monumental(e(m|n|r|s)?)?(\s+eichen?)?/ig,
wrap: 'span',
wrapClass: 'merl'
});
};
//]]>
</script>
Testtabellen
[Bearbeiten | Quelltext bearbeiten]Top-20-Tabelle
[Bearbeiten | Quelltext bearbeiten]auf Startseite:
<table align="" id="top20">
<thead>
<tr>
<th>Rang</th>
<th class="BHU">BHU</th>
<th>Ortschaft</th>
<th class="Name">Name</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>11,70 m</td>
<td><a href="/app/s5400250e03d803c7/p4ddc96c3221e9d14/" title="Große Eiche">Ivenack</a></td>
<td>Große Eiche</td>
</tr>
<tr>
<td>2</td>
<td>11,10 m</td>
<td><a href="/app/s5400250e03d803c7/p1e6bbc0278096826/" title="Perdöl">Perdöl</a></td>
<td>Kattholzeiche</td>
</tr>
<tr>
<td>3</td>
<td>10,35 m</td>
<td><a href="/app/s5400250e03d803c7/pc135dbba5916b718/" title="Borlinghausen">Borlinghausen</a></td>
<td>Rieseneiche</td>
</tr>
<tr>
<td>4</td>
<td>10,26 m</td>
<td><a href="/app/s5400250e03d803c7/paada8941fdeb03aa/" title="Dicke Eiche">Krügersdorf</a></td>
<td>Dicke Eiche</td>
</tr>
<tr>
<td>5</td>
<td>10,25 m</td>
<td><a href="/app/s5400250e03d803c7/p600873671ff3ca22/" title="Nöbdenitz">Nöbdenitz</a></td>
<td>Grabeiche</td>
</tr>
<tr>
<td>6</td>
<td>10,06 m</td>
<td><a href="/app/s5400250e03d803c7/p6b94c9fc3507d2f9/" title="Berteroda">Berteroda</a></td>
<td>Dicke Eiche</td>
</tr>
<tr>
<td>7</td>
<td>9,90 m</td>
<td><a href="/app/s5400250e03d803c7/p12c2f1fbe2a4e19c/" title="Minzow">Minzow</a></td>
<td>Kroneiche</td>
</tr>
<tr>
<td>8</td>
<td>9,85 m</td>
<td><a href="/app/s5400250e03d803c7/peea82d16ac12dc1b/" title="Hornoldendorf">Hornoldendorf</a></td>
<td>Mauereiche</td>
</tr>
<tr>
<td>9</td>
<td>9,70 m</td>
<td><a href="/app/s5400250e03d803c7/p545b70a66b3ba00a/" title="Schloss Haus">Schloss Haus</a></td>
<td>Sankt Wolfgangseiche </td>
</tr>
<tr>
<td>10</td>
<td>9,65 m</td>
<td><a href="/app/s5400250e03d803c7/pc9a58a1ee885456b/" title="Volkenroda">Volkenroda</a></td>
<td>Königseiche</td>
</tr>
<tr>
<td>11</td>
<td>9,55 m</td>
<td><a href="/app/s5400250e03d803c7/pc365584767df0ca6/" title="Eisolzried">Eisolzried</a></td>
<td>Schlosseiche</td>
</tr>
<tr>
<td>12</td>
<td>9,35 m</td>
<td><a href="/app/s5400250e03d803c7/p985e622641f50c00/" title="Knusteiche">Ivenack</a></td>
<td>Knusteiche</td>
</tr>
<tr>
<td>12</td>
<td>9,35 m</td>
<td><a href="/app/s5400250e03d803c7/p78c69278d6adf6d7/" title="Erle">Erle</a></td>
<td>Femeiche</td>
</tr>
<tr>
<td>14</td>
<td>9,25 m</td>
<td><a href="/app/s5400250e03d803c7/pf8f58f4b69225bc1/" title="Schloss Nagel">Schloss Nagel</a></td>
<td>Tausendjährige Eiche</td>
</tr>
<tr>
<td>14</td>
<td>9,25 m</td>
<td><a href="/app/s5400250e03d803c7/pf8281258f886204c/" title="Gollingkreut">Gollingkreut</a></td>
<td>Bluteiche</td>
</tr>
<tr>
<td>16</td>
<td>9,10 m</td>
<td><a href="/app/s5400250e03d803c7/paaa42d2e7be2a30e/" title="Burg Schlitz">Burg Schlitz</a></td>
<td>Tümpeleiche</td>
</tr>
<tr>
<td>17</td>
<td>8,99 m</td>
<td><a href="/app/s5400250e03d803c7/p71947d302badfbd6/" title="Drillingseiche">Rothenmoor</a></td>
<td>Drillingseiche</td>
</tr>
<tr>
<td>18</td>
<td>8,95 m</td>
<td><a href="/app/s5400250e03d803c7/pfc5a2a8f4acb4157/" title="Pferdekopfeiche">Ivenack</a></td>
<td>Pferdekopfeiche</td>
</tr>
<tr>
<td>19</td>
<td>8,91 m</td>
<td><a href="/app/s5400250e03d803c7/pb66490d482f09330/" title="Egenbüttel">Egenbüttel</a></td>
<td>Hohle Eiche</td>
</tr>
<tr>
<td>20</td>
<td>8,90 m</td>
<td><a href="/app/s5400250e03d803c7/pcf1fe9356283f3c9/" title="Stapel">Stapel</a></td>
<td>Forsthaus Grüner Jäger</td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="4"><strong>Hinweis:</strong> <em>BHU</em> = Brusthöhenumfang → siehe dazu <a href="/app/s5400250e03d803c7/p0bf6cf5d40cbaf4f/" title="Messmethode">Messmethode</a>.</td>
</tr>
</tfoot>
</table>
Statistiktabellen
[Bearbeiten | Quelltext bearbeiten]ehemals auf Startseite
Alles in den Inhaltsbereich (Update: Zahlenwerte mittlerweile veraltet):
<table align="" class="start sortable" id="start2">
<thead>
<tr>
<th>
<div class="SpKopf">Bundesland</div>
</th>
<th>
<div class="SpKopf">Monumentale Eichen<br /> <span class="kleiner">BHU ≥ 7,0 m</span></div>
</th>
<th>
<div class="SpKopf">2 .Kategorie<br /> <span class="kleiner">BHU 6,5–7,0 m</span></div>
</th>
<th>
<div class="SpKopf">3. Kategorie<br /> <span class="kleiner">BHU 6,0–6,5 m</span></div>
</th>
<th>
<div class="SpKopf">Gesamt</div>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="bw">Baden-Württemberg</td>
<td><span class="unsichtbar">00</span>9</td>
<td><span class="unsichtbar">0</span>4</td>
<td><span class="unsichtbar">0</span>3</td>
<td><span class="unsichtbar">0</span>16</td>
</tr>
<tr>
<td class="bay">Bayern</td>
<td><span class="unsichtbar">0</span>26</td>
<td><span class="unsichtbar">0</span>6</td>
<td>12</td>
<td><span class="unsichtbar">0</span>44</td>
</tr>
<tr>
<td class="bln">Berlin</td>
<td><span class="unsichtbar">00</span>1</td>
<td>—</td>
<td>—</td>
<td><span class="unsichtbar">00</span>1</td>
</tr>
<tr>
<td class="brb">Brandenburg</td>
<td><span class="unsichtbar">0</span>38</td>
<td><span class="unsichtbar">0</span>5</td>
<td><span class="unsichtbar">0</span>8</td>
<td><span class="unsichtbar">0</span>51</td>
</tr>
<tr>
<td class="ham">Hamburg</td>
<td><span class="unsichtbar">00</span>2</td>
<td>—</td>
<td>—</td>
<td><span class="unsichtbar">00</span>2</td>
</tr>
<tr>
<td class="hes">Hessen</td>
<td><span class="unsichtbar">0</span>31</td>
<td>14</td>
<td>11</td>
<td><span class="unsichtbar">0</span>56</td>
</tr>
<tr>
<td class="mv">Mecklenburg-Vorpommern</td>
<td><span class="unsichtbar">0</span>26</td>
<td><span class="unsichtbar">0</span>6</td>
<td>—</td>
<td><span class="unsichtbar">0</span>32</td>
</tr>
<tr>
<td class="nds">Niedersachsen</td>
<td><span class="unsichtbar">0</span>19</td>
<td><span class="unsichtbar">0</span>7</td>
<td><span class="unsichtbar">0</span>5</td>
<td><span class="unsichtbar">0</span>31</td>
</tr>
<tr>
<td class="nrw">Nordrhein-Westfalen</td>
<td><span class="unsichtbar">0</span>15</td>
<td><span class="unsichtbar">0</span>2</td>
<td><span class="unsichtbar">0</span>2</td>
<td><span class="unsichtbar">0</span>19</td>
</tr>
<tr>
<td class="rlp">Rheinland-Pfalz</td>
<td><span class="unsichtbar">00</span>4</td>
<td><span class="unsichtbar">0</span>2</td>
<td>—</td>
<td><span class="unsichtbar">00</span>6</td>
</tr>
<tr>
<td class="sn">Sachsen</td>
<td><span class="unsichtbar">0</span>13</td>
<td><span class="unsichtbar">0</span>4</td>
<td><span class="unsichtbar">0</span>2</td>
<td><span class="unsichtbar">0</span>19</td>
</tr>
<tr>
<td class="st">Sachsen-Anhalt</td>
<td><span class="unsichtbar">00</span>4</td>
<td><span class="unsichtbar">0</span>2</td>
<td><span class="unsichtbar">0</span>1</td>
<td><span class="unsichtbar">00</span>7</td>
</tr>
<tr>
<td class="th">Thüringen</td>
<td><span class="unsichtbar">00</span>9</td>
<td><span class="unsichtbar">0</span>4</td>
<td><span class="unsichtbar">0</span>5</td>
<td><span class="unsichtbar">0</span>18</td>
</tr>
</tbody>
<tfoot>
<tr>
<td class="dtl">Deutschland</td>
<td>197</td>
<td>56</td>
<td>49</td>
<td>302</td>
</tr>
<tr>
<td colspan="5"><strong>Hinweis:</strong> Die Tabelle ist sortierbar. Durch Klick auf den jeweiligen Spaltenkopf ändert sich die Reihenfolge.<br /> <em>BHU</em> = Brusthöhenumfang; <em>Taille</em> = Taillenumfang → siehe dazu Messmethode.</td>
</tr>
</tfoot>
</table>
Tabellen mit Länderspalten
[Bearbeiten | Quelltext bearbeiten]außer Statistiktabellen
Nur wichtige Teile
- Tabellenbeginn:
<table align="" class="sortable dtliste">
- spezielle Zelle im Tabellenkopf, muss die dritte Spalte sein:
<th class="BLand">B.-Land</th>
- Tabellenzellen für die einzelnen Bundesländer:
<td class="bw"><span>Baden-Württemberg</span></td>
<td class="bay"><span>Bayern</span></td>
<td class="bln"><span>Berlin</span></td>
<td class="brb"><span>Brandenburg</span></td>
<td class="bre"><span>Bremen</span></td>
<td class="ham"><span>Hamburg</span></td>
<td class="hes"><span>Hessen</span></td>
<td class="nds"><span>Niedersachsen</span></td>
<td class="mv"><span>Mecklenburg-Vorpommern</span></td>
<td class="nrw"><span>Nordrhein-Westfalen</span></td>
<td class="rlp"><span>Rheinland-Pfalz</span></td>
<td class="sl"><span>Saarland</span></td>
<td class="sn"><span>Sachsen</span></td>
<td class="st"><span>Sachsen-Anhalt</span></td>
<td class="sh"><span>Schleswig-Holstein</span></td>
<td class="th"><span>Thüringen</span></td>
Fröhlich-Tabellen
[Bearbeiten | Quelltext bearbeiten]Nur Tabellenbeginn
<table class="froehlich sortable" align="">
<thead>
<tr>
<th>
<div class="SpKopf">Nr.</div>
</th>
<th>
<div class="SpKopf">Bezeichnung bei Fröhlich</div>
</th>
<th class="sorttable_numeric">
<div class="SpKopf">BHU<br /> <span class="kleiner">(Fröhlich)</span></div>
</th>
<th class="sorttable_numeric">
<div class="SpKopf">BHU<br /> <span class="kleiner">(aktuell)</span></div>
</th>
<th class="sorttable_nosort">
<div class="SpKopf">Quelle, Bemerkung</div>
</th>
</tr>
</thead>
<tbody>
<!--
normale Zeilen
-->