Oficjalna strona Podlaskiego Związku Koszykówki

facebook twitter flickr digg stumbleupon feed

Wesołych Świąt

/*fix height for middle area columns*/ function fixColsHeight () { equalHeight (['ja-left', 'ja-main', 'ja-right']); fixHeight (['ja-right1', 'ja-right2'], ['ja-right'], ['ja-right-mass-top', 'ja-right-mass-bottom']); fixHeight (['ja-left1', 'ja-left2'], ['ja-left'], ['ja-left-mass-top', 'ja-left-mass-bottom']); fixHeight (['ja-current-content', 'ja-inset1', 'ja-inset2'],['ja-main'], ['ja-content-mass-top','ja-content-mass-bottom']); fixHeight (['ja-content-main'], ['ja-current-content'], ['ja-content-top', 'ja-content-bottom']); } window.addEvent ('load', function () { //fixColsHeight.delay (100, this); updateHeight.periodical(500); }); function updateHeight () { if ($('ja-container')) { var newH = $('ja-container').getCoordinates().height; if (!this.oldH || this.oldH != newH) { fixColsHeight(); //update newH after fix var newH = $('ja-container').getCoordinates().height; this.oldH = newH; } } }