Skip to content

Commit ca60482

Browse files
committed
Ensure contents are not hidden but pupunder Google ads
1 parent 77313e1 commit ca60482

File tree

312 files changed

+6866
-626
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

312 files changed

+6866
-626
lines changed

cargo/Adding+TLD+support+to+the+Jetty+container.html

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@
2222
enable_page_level_ads: true
2323
});
2424
</script>
25+
<script>
26+
window.setInterval(function() {
27+
var ins = document.getElementsByTagName("ins");
28+
for (i of ins) {
29+
if (i.className && i.className.indexOf("adsbygoogle") != -1 && i.style && i.style.bottom) {
30+
var bottom = parseInt(i.style.bottom)
31+
if (!isNaN(b)) {
32+
// The way Google handles the element is that the height (with the ad) is fixed,
33+
// appearing and disappearing is handled by making the bottom style negative
34+
var space = i.offsetHeight + bottom;
35+
if (space < 0) {
36+
space = 0;
37+
}
38+
document.getElementById("cargo-navigation").style.paddingBottom = space;
39+
document.getElementById("cargo-content").style.paddingBottom = space;
40+
}
41+
}
42+
}
43+
}, 100);
44+
</script>
2545
</head>
2646
<body>
2747
<table class="layout" style="border-collapse:collapse;position:absolute;width:100%;height:100%" border="none">
@@ -40,7 +60,7 @@
4060
</div></td>
4161
</tr>
4262
<tr valign="top">
43-
<td class="leftColumn" valign="top" style="padding-top:0px">
63+
<td id="cargo-navigation" class="leftColumn" valign="top" style="padding-top:0px">
4464
<h3 id="Navigation-QuickLinks">Quick Links</h3>
4565
<ul class="alternate">
4666
<li><a href="Home.html">Home</a>
@@ -269,7 +289,7 @@ <h3 class="heading3">RSS Feeds</h3>
269289
</tr>
270290
</tbody>
271291
</table></td>
272-
<td style="padding:0px">
292+
<td id="cargo-content" style="padding:0px">
273293
<table style="border-collapse:collapse;width:100%;height:100%">
274294
<tbody>
275295
<tr style="height:38px">

cargo/Adding+a+JMS+resource+to+Resin3x.html

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@
2222
enable_page_level_ads: true
2323
});
2424
</script>
25+
<script>
26+
window.setInterval(function() {
27+
var ins = document.getElementsByTagName("ins");
28+
for (i of ins) {
29+
if (i.className && i.className.indexOf("adsbygoogle") != -1 && i.style && i.style.bottom) {
30+
var bottom = parseInt(i.style.bottom)
31+
if (!isNaN(b)) {
32+
// The way Google handles the element is that the height (with the ad) is fixed,
33+
// appearing and disappearing is handled by making the bottom style negative
34+
var space = i.offsetHeight + bottom;
35+
if (space < 0) {
36+
space = 0;
37+
}
38+
document.getElementById("cargo-navigation").style.paddingBottom = space;
39+
document.getElementById("cargo-content").style.paddingBottom = space;
40+
}
41+
}
42+
}
43+
}, 100);
44+
</script>
2545
</head>
2646
<body>
2747
<table class="layout" style="border-collapse:collapse;position:absolute;width:100%;height:100%" border="none">
@@ -40,7 +60,7 @@
4060
</div></td>
4161
</tr>
4262
<tr valign="top">
43-
<td class="leftColumn" valign="top" style="padding-top:0px">
63+
<td id="cargo-navigation" class="leftColumn" valign="top" style="padding-top:0px">
4464
<h3 id="Navigation-QuickLinks">Quick Links</h3>
4565
<ul class="alternate">
4666
<li><a href="Home.html">Home</a>
@@ -269,7 +289,7 @@ <h3 class="heading3">RSS Feeds</h3>
269289
</tr>
270290
</tbody>
271291
</table></td>
272-
<td style="padding:0px">
292+
<td id="cargo-content" style="padding:0px">
273293
<table style="border-collapse:collapse;width:100%;height:100%">
274294
<tbody>
275295
<tr style="height:38px">

cargo/Adding+a+Samples+Test.html

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@
2222
enable_page_level_ads: true
2323
});
2424
</script>
25+
<script>
26+
window.setInterval(function() {
27+
var ins = document.getElementsByTagName("ins");
28+
for (i of ins) {
29+
if (i.className && i.className.indexOf("adsbygoogle") != -1 && i.style && i.style.bottom) {
30+
var bottom = parseInt(i.style.bottom)
31+
if (!isNaN(b)) {
32+
// The way Google handles the element is that the height (with the ad) is fixed,
33+
// appearing and disappearing is handled by making the bottom style negative
34+
var space = i.offsetHeight + bottom;
35+
if (space < 0) {
36+
space = 0;
37+
}
38+
document.getElementById("cargo-navigation").style.paddingBottom = space;
39+
document.getElementById("cargo-content").style.paddingBottom = space;
40+
}
41+
}
42+
}
43+
}, 100);
44+
</script>
2545
</head>
2646
<body>
2747
<table class="layout" style="border-collapse:collapse;position:absolute;width:100%;height:100%" border="none">
@@ -40,7 +60,7 @@
4060
</div></td>
4161
</tr>
4262
<tr valign="top">
43-
<td class="leftColumn" valign="top" style="padding-top:0px">
63+
<td id="cargo-navigation" class="leftColumn" valign="top" style="padding-top:0px">
4464
<h3 id="Navigation-QuickLinks">Quick Links</h3>
4565
<ul class="alternate">
4666
<li><a href="Home.html">Home</a>
@@ -269,7 +289,7 @@ <h3 class="heading3">RSS Feeds</h3>
269289
</tr>
270290
</tbody>
271291
</table></td>
272-
<td style="padding:0px">
292+
<td id="cargo-content" style="padding:0px">
273293
<table style="border-collapse:collapse;width:100%;height:100%">
274294
<tbody>
275295
<tr style="height:38px">

cargo/Adding+a+container.html

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@
2222
enable_page_level_ads: true
2323
});
2424
</script>
25+
<script>
26+
window.setInterval(function() {
27+
var ins = document.getElementsByTagName("ins");
28+
for (i of ins) {
29+
if (i.className && i.className.indexOf("adsbygoogle") != -1 && i.style && i.style.bottom) {
30+
var bottom = parseInt(i.style.bottom)
31+
if (!isNaN(b)) {
32+
// The way Google handles the element is that the height (with the ad) is fixed,
33+
// appearing and disappearing is handled by making the bottom style negative
34+
var space = i.offsetHeight + bottom;
35+
if (space < 0) {
36+
space = 0;
37+
}
38+
document.getElementById("cargo-navigation").style.paddingBottom = space;
39+
document.getElementById("cargo-content").style.paddingBottom = space;
40+
}
41+
}
42+
}
43+
}, 100);
44+
</script>
2545
</head>
2646
<body>
2747
<table class="layout" style="border-collapse:collapse;position:absolute;width:100%;height:100%" border="none">
@@ -40,7 +60,7 @@
4060
</div></td>
4161
</tr>
4262
<tr valign="top">
43-
<td class="leftColumn" valign="top" style="padding-top:0px">
63+
<td id="cargo-navigation" class="leftColumn" valign="top" style="padding-top:0px">
4464
<h3 id="Navigation-QuickLinks">Quick Links</h3>
4565
<ul class="alternate">
4666
<li><a href="Home.html">Home</a>
@@ -269,7 +289,7 @@ <h3 class="heading3">RSS Feeds</h3>
269289
</tr>
270290
</tbody>
271291
</table></td>
272-
<td style="padding:0px">
292+
<td id="cargo-content" style="padding:0px">
273293
<table style="border-collapse:collapse;width:100%;height:100%">
274294
<tbody>
275295
<tr style="height:38px">

cargo/Announcing+Codehaus+Cargo+1.7.16.html

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@
2222
enable_page_level_ads: true
2323
});
2424
</script>
25+
<script>
26+
window.setInterval(function() {
27+
var ins = document.getElementsByTagName("ins");
28+
for (i of ins) {
29+
if (i.className && i.className.indexOf("adsbygoogle") != -1 && i.style && i.style.bottom) {
30+
var bottom = parseInt(i.style.bottom)
31+
if (!isNaN(b)) {
32+
// The way Google handles the element is that the height (with the ad) is fixed,
33+
// appearing and disappearing is handled by making the bottom style negative
34+
var space = i.offsetHeight + bottom;
35+
if (space < 0) {
36+
space = 0;
37+
}
38+
document.getElementById("cargo-navigation").style.paddingBottom = space;
39+
document.getElementById("cargo-content").style.paddingBottom = space;
40+
}
41+
}
42+
}
43+
}, 100);
44+
</script>
2545
</head>
2646
<body>
2747
<table class="layout" style="border-collapse:collapse;position:absolute;width:100%;height:100%" border="none">
@@ -40,7 +60,7 @@
4060
</div></td>
4161
</tr>
4262
<tr valign="top">
43-
<td class="leftColumn" valign="top" style="padding-top:0px">
63+
<td id="cargo-navigation" class="leftColumn" valign="top" style="padding-top:0px">
4464
<h3 id="Navigation-QuickLinks">Quick Links</h3>
4565
<ul class="alternate">
4666
<li><a href="Home.html">Home</a>
@@ -269,7 +289,7 @@ <h3 class="heading3">RSS Feeds</h3>
269289
</tr>
270290
</tbody>
271291
</table></td>
272-
<td style="padding:0px">
292+
<td id="cargo-content" style="padding:0px">
273293
<table style="border-collapse:collapse;width:100%;height:100%">
274294
<tbody>
275295
<tr style="height:38px">

cargo/Another+jump+in+Codehaus+Cargo+s+history+version+1.8.0+is+here.html

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@
2222
enable_page_level_ads: true
2323
});
2424
</script>
25+
<script>
26+
window.setInterval(function() {
27+
var ins = document.getElementsByTagName("ins");
28+
for (i of ins) {
29+
if (i.className && i.className.indexOf("adsbygoogle") != -1 && i.style && i.style.bottom) {
30+
var bottom = parseInt(i.style.bottom)
31+
if (!isNaN(b)) {
32+
// The way Google handles the element is that the height (with the ad) is fixed,
33+
// appearing and disappearing is handled by making the bottom style negative
34+
var space = i.offsetHeight + bottom;
35+
if (space < 0) {
36+
space = 0;
37+
}
38+
document.getElementById("cargo-navigation").style.paddingBottom = space;
39+
document.getElementById("cargo-content").style.paddingBottom = space;
40+
}
41+
}
42+
}
43+
}, 100);
44+
</script>
2545
</head>
2646
<body>
2747
<table class="layout" style="border-collapse:collapse;position:absolute;width:100%;height:100%" border="none">
@@ -40,7 +60,7 @@
4060
</div></td>
4161
</tr>
4262
<tr valign="top">
43-
<td class="leftColumn" valign="top" style="padding-top:0px">
63+
<td id="cargo-navigation" class="leftColumn" valign="top" style="padding-top:0px">
4464
<h3 id="Navigation-QuickLinks">Quick Links</h3>
4565
<ul class="alternate">
4666
<li><a href="Home.html">Home</a>
@@ -269,7 +289,7 @@ <h3 class="heading3">RSS Feeds</h3>
269289
</tr>
270290
</tbody>
271291
</table></td>
272-
<td style="padding:0px">
292+
<td id="cargo-content" style="padding:0px">
273293
<table style="border-collapse:collapse;width:100%;height:100%">
274294
<tbody>
275295
<tr style="height:38px">

cargo/Ant+Tasks+Reference+Guide.html

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@
2222
enable_page_level_ads: true
2323
});
2424
</script>
25+
<script>
26+
window.setInterval(function() {
27+
var ins = document.getElementsByTagName("ins");
28+
for (i of ins) {
29+
if (i.className && i.className.indexOf("adsbygoogle") != -1 && i.style && i.style.bottom) {
30+
var bottom = parseInt(i.style.bottom)
31+
if (!isNaN(b)) {
32+
// The way Google handles the element is that the height (with the ad) is fixed,
33+
// appearing and disappearing is handled by making the bottom style negative
34+
var space = i.offsetHeight + bottom;
35+
if (space < 0) {
36+
space = 0;
37+
}
38+
document.getElementById("cargo-navigation").style.paddingBottom = space;
39+
document.getElementById("cargo-content").style.paddingBottom = space;
40+
}
41+
}
42+
}
43+
}, 100);
44+
</script>
2545
</head>
2646
<body>
2747
<table class="layout" style="border-collapse:collapse;position:absolute;width:100%;height:100%" border="none">
@@ -40,7 +60,7 @@
4060
</div></td>
4161
</tr>
4262
<tr valign="top">
43-
<td class="leftColumn" valign="top" style="padding-top:0px">
63+
<td id="cargo-navigation" class="leftColumn" valign="top" style="padding-top:0px">
4464
<h3 id="Navigation-QuickLinks">Quick Links</h3>
4565
<ul class="alternate">
4666
<li><a href="Home.html">Home</a>
@@ -269,7 +289,7 @@ <h3 class="heading3">RSS Feeds</h3>
269289
</tr>
270290
</tbody>
271291
</table></td>
272-
<td style="padding:0px">
292+
<td id="cargo-content" style="padding:0px">
273293
<table style="border-collapse:collapse;width:100%;height:100%">
274294
<tbody>
275295
<tr style="height:38px">

cargo/Ant+support.html

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,26 @@
2222
enable_page_level_ads: true
2323
});
2424
</script>
25+
<script>
26+
window.setInterval(function() {
27+
var ins = document.getElementsByTagName("ins");
28+
for (i of ins) {
29+
if (i.className && i.className.indexOf("adsbygoogle") != -1 && i.style && i.style.bottom) {
30+
var bottom = parseInt(i.style.bottom)
31+
if (!isNaN(b)) {
32+
// The way Google handles the element is that the height (with the ad) is fixed,
33+
// appearing and disappearing is handled by making the bottom style negative
34+
var space = i.offsetHeight + bottom;
35+
if (space < 0) {
36+
space = 0;
37+
}
38+
document.getElementById("cargo-navigation").style.paddingBottom = space;
39+
document.getElementById("cargo-content").style.paddingBottom = space;
40+
}
41+
}
42+
}
43+
}, 100);
44+
</script>
2545
</head>
2646
<body>
2747
<table class="layout" style="border-collapse:collapse;position:absolute;width:100%;height:100%" border="none">
@@ -40,7 +60,7 @@
4060
</div></td>
4161
</tr>
4262
<tr valign="top">
43-
<td class="leftColumn" valign="top" style="padding-top:0px">
63+
<td id="cargo-navigation" class="leftColumn" valign="top" style="padding-top:0px">
4464
<h3 id="Navigation-QuickLinks">Quick Links</h3>
4565
<ul class="alternate">
4666
<li><a href="Home.html">Home</a>
@@ -269,7 +289,7 @@ <h3 class="heading3">RSS Feeds</h3>
269289
</tr>
270290
</tbody>
271291
</table></td>
272-
<td style="padding:0px">
292+
<td id="cargo-content" style="padding:0px">
273293
<table style="border-collapse:collapse;width:100%;height:100%">
274294
<tbody>
275295
<tr style="height:38px">

0 commit comments

Comments
 (0)