Skip to content

Commit ae215ee

Browse files
committed
adsense
1 parent b219000 commit ae215ee

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

index.html

+9-2
Original file line numberDiff line numberDiff line change
@@ -193,8 +193,15 @@ <h1>ScrollMagic</h1>
193193
return false;
194194
});
195195
</script>
196-
197-
196+
<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
197+
<!-- ScrollMagic2 -->
198+
<ins class="adsbygoogle"
199+
style="display:inline-block;width:728px;height:90px;position:absolute;bottom:-120px;left:-39px;"
200+
data-ad-client="ca-pub-8391065704522728"
201+
data-ad-slot="5081761290"></ins>
202+
<script>
203+
(adsbygoogle = window.adsbygoogle || []).push({});
204+
</script>
198205
</div>
199206
<script>
200207
// wrap each title letter

js/demo.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,12 @@
108108
.append("<p>Thank you!</p>");
109109
var container = $("<div>")
110110
.addClass("darkside")
111-
.append(text)
112-
.append('<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>')
113-
.append('<ins class="adsbygoogle" style="display:block;width:' + google_ad_width + 'px;height:' + google_ad_height + 'px;margin: 20px auto 0 auto;" data-ad-client="' + google_ad_client + '" data-ad-slot="' + google_ad_slot + '"></ins>');
111+
.append(text);
112+
// .append('<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>');;
113+
// .append('<ins class="adsbygoogle" style="display:block;width:' + google_ad_width + 'px;height:' + google_ad_height + 'px;margin: 20px auto 0 auto;" data-ad-client="' + google_ad_client + '" data-ad-slot="' + google_ad_slot + '"></ins>');
114114

115115
$("section#info > div.content").first().after(container);
116-
(adsbygoogle = window.adsbygoogle || []).push({});
116+
// (adsbygoogle = window.adsbygoogle || []).push({});
117117
});
118118
}
119119

0 commit comments

Comments
 (0)