PageSourceSearch

https://www.promotions-emia.fr/templates/emiapromov9d/js/height.js

js promotions-emia.fr collected 2026-10-02 20:53:55 UTC 2,858 bytes, 111 lines download raw bytes

1function setColumns() {
2( function() {
3if (jQuery(window).width() > 750) {
4contentDiv = jQuery("#ttr_content");
5contentMarginDiv = jQuery("#ttr_content_margin");
6sidebar1Div = jQuery("#ttr_sidebar_left");
7sidebar2Div = jQuery("#ttr_sidebar_right");
8sidebar1MarginDiv = jQuery("#ttr_sidebar_left_margin");
9sidebar2MarginDiv = jQuery("#ttr_sidebar_right_margin");
10if (sidebar1Div != null && sidebar1Div.length !== 0)
11{
12if (contentDiv.height() > sidebar1Div.height())
13{
14if (sidebar2Div != null && sidebar2Div.length !== 0)
15{
16if (contentDiv.height() > sidebar2Div.height())
17{
18sidebar1MarginDiv.height(contentDiv.height() - 0 - 0 - 0 - 0);
19sidebar2MarginDiv.height(contentDiv.height() - 0 - 0 - 0 - 0);
20}
21else
22{
23sidebar1MarginDiv.height(sidebar2Div.height() - 0 - 0 - 0 - 0);
24var Height = sidebar2Div.height() - 5 - 0 - 0 - 0;
25contentMarginDiv.css("min-height", Height+'px');
26 }
27}
28else
29{
30sidebar1MarginDiv.height(contentDiv.height() - 0 - 0 - 0 - 0);
31}
32}
33else
34{
35if (sidebar2Div != null && sidebar2Div.length !== 0)
36{
37if (sidebar1Div.height() > sidebar2Div.height())
38{
39sidebar2MarginDiv.height(sidebar1Div.height() - 0 - 0 - 0 - 0);
40var Height = sidebar1Div.height() - 5 - 0 - 0 - 0;
41contentMarginDiv.css("min-height", Height+'px');
42}
43else
44{
45sidebar1MarginDiv.height(sidebar2Div.height() - 0 - 0 - 0 - 0);
46var Height = sidebar2Div.height() - 5 - 0 - 0 - 0;
47contentMarginDiv.css("min-height", Height+'px');
48}
49}
50else
51{
52var Height = sidebar1Div.height() - 5 - 0 - 0 - 0;
53contentMarginDiv.css("min-height", Height+'px');
54}
55}
56}
57else
58{
59if (sidebar2Div != null && sidebar2Div.length !== 0)
60{
61if (contentDiv.height() > sidebar2Div.height())
62{
63if (sidebar1Div != null && sidebar1Div.length !== 0)
64{
65if (contentDiv.height() > sidebar1Div.height())
66{
67sidebar1MarginDiv.height(contentDiv.height() - 0 - 0 - 0 - 0);
68sidebar2MarginDiv.height(contentDiv.height() - 0 - 0 - 0 - 0);
69}
70else
71{
72sidebar2MarginDiv.height(sidebar1Div.height() - 0 - 0 - 0 - 0);
73var Height = sidebar1Div.height() - 5 - 0 - 0 - 0;
74contentMarginDiv.css("min-height", Height+'px');
75 }
76}
77else
78{
79sidebar2MarginDiv.height(contentDiv.height() - 0 - 0 - 0 - 0);
80}
81}
82else
83{
84if (sidebar1Div != null && sidebar1Div.length !== 0)
85{
86if (sidebar2Div.height() > sidebar1Div.height())
87{
88sidebar1MarginDiv.height(sidebar1Div.height() - 0 - 0 - 0 - 0);
89var Height = sidebar1Div.height() - 0 - 0 - 0 - 0;
90contentMarginDiv.css("min-height", Height+'px');
91}
92else
93{
94sidebar2MarginDiv.height(sidebar1Div.height() - 0 - 0 - 0 - 0);
95var Height = sidebar1Div.height() - 5 - 0 - 0 - 0;
96contentMarginDiv.css("min-height", Height+'px');
97}
98}
99else
100{
101var Height = sidebar2Div.height() - 5 - 0 - 0 - 0;
102contentMarginDiv.css("min-height", Height+'px');
103}
104}
105}
106}
107} })();
108}
109jQuery(window).on('load', function(){
110setColumns();
111});

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.