PageSourceSearch

https://wyszkow.turystyka.pl/templates/ja_good/js/script.js

js wyszkow.turystyka.pl collected 2026-10-07 23:16:09 UTC 2,827 bytes, 81 lines download raw bytes

1/** 
2 *------------------------------------------------------------------------------
3 * @package       T3 Framework for Joomla!
4 *------------------------------------------------------------------------------
5 * @copyright     Copyright (C) 2004-2013 JoomlArt.com. All Rights Reserved.
6 * @license       GNU General Public License version 2 or later; see LICENSE.txt
7 * @authors       JoomlArt, JoomlaBamboo, (contribute to this project at github 
8 *                & Google group to become co-author)
9 * @Google group: https://groups.google.com/forum/#!forum/t3fw
10 * @Link:         http://t3-framework.org 
11 *------------------------------------------------------------------------------
12 */
13
14 jQuery(document).ready(function($) {
15
16 	if($('#jform_contact_email_copy').length) {
17 		$('#jform_contact_email_copy').parents('.control-group').addClass('inline');
18 	}
19
20 	////////////////////////////////
21    // equalheight for col
22    ////////////////////////////////
23    var ehArray = ehArray2 = [],
24      i = 0;
25
26    $('.equal-height').each (function(){
27      var $ehc = $(this);
28      if ($ehc.has ('.equal-height')) {
29        ehArray2[ehArray2.length] = $ehc;
30      } else {
31        ehArray[ehArray.length] = $ehc;
32      }
33    });
34
35    for (i = ehArray2.length -1; i >= 0; i--) {
36      ehArray[ehArray.length] = ehArray2[i];
37    }
38
39    var equalHeight = function() {
40      for (i = 0; i < ehArray.length; i++) {
41        var $cols = ehArray[i].children().filter('.col'),
42          maxHeight = 0,
43          equalChildHeight = ehArray[i].hasClass('equal-height-child');
44
45      // reset min-height
46        if (equalChildHeight) {
47          $cols.each(function(){$(this).children().first().css('min-height', 0)});
48        } else {
49          $cols.css('min-height', 0);
50        }
51        $cols.each (function() {
52          maxHeight = Math.max(maxHeight, equalChildHeight ? $(this).children().first().innerHeight() : $(this).innerHeight());
53        });
54        if (equalChildHeight) {
55          $cols.each(function(){$(this).children().first().css('min-height', maxHeight + 1)});
56        } else {
57          $cols.css('min-height', maxHeight + 1);
58        }
59      }
60      // store current size
61      $('.equal-height > .col').each (function(){
62        var $col = $(this);
63        $col.data('old-width', $col.width()).data('old-height', $col.innerHeight());
64      });
65    };
66
67    equalHeight();
68
69    // monitor col width and fire equalHeight
70    setInterval(function() {
71      $('.equal-height > .col').each(function(){
72        var $col = $(this);
73        if (($col.data('old-width') && $col.data('old-width') != $col.width()) ||
74            ($col.data('old-height') && $col.data('old-height') != $col.innerHeight())) {
75          equalHeight();
76          // break each loop
77          return false;
78        }
79      });
80    }, 500);
81 })

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.