| 5 |
lars |
1 |
/**
|
|
|
2 |
* Diese Datei ändert das 3-Spalten-Template so, dass alle drei Spalten die gleiche Höhe haben,
|
|
|
3 |
* was Aufgrund des Hintergrunds sein muss.
|
|
|
4 |
**/
|
|
|
5 |
$(function() {
|
|
|
6 |
var contentLeftHeight = $('#content-left div.middle').height() + 25;
|
|
|
7 |
var contentRightHeight = $('#content-right').height();
|
|
|
8 |
var contentCenterHeight = $('#content').height();
|
|
|
9 |
|
|
|
10 |
var highestHeight = contentLeftHeight;
|
|
|
11 |
|
|
|
12 |
if ( contentRightHeight > highestHeight ) {
|
|
|
13 |
highestHeight = contentRightHeight;
|
|
|
14 |
}
|
|
|
15 |
|
|
|
16 |
if ( contentCenterHeight > highestHeight ) {
|
|
|
17 |
highestHeight = contentCenterHeight;
|
|
|
18 |
}
|
|
|
19 |
|
|
|
20 |
highestHeight = highestHeight + 30;
|
|
|
21 |
|
|
|
22 |
/** ANPASUNGEN: start **/
|
|
|
23 |
contentCenterHeight = highestHeight - 3;
|
|
|
24 |
contentLeftHeight = highestHeight - 1;
|
|
|
25 |
/** ANPASUNGEN: ende **/
|
|
|
26 |
|
|
|
27 |
//$('#content-left').height(contentLeftHeight);
|
|
|
28 |
//$('#content-right').height(highestHeight);
|
|
|
29 |
//$('#content').height(contentCenterHeight);
|
|
|
30 |
});
|