[TYPO3-ttnews] inserting adsense as a lib.object?
Morten Kjems
mortenkjems at gmail.com
Thu Dec 13 17:07:10 CET 2007
Hi.
I am trying to create some Typo Script for a lip.object holding som
adsense code.
Here is what I got:
lib.venstre_ad_tricks >
lib.venstre_ad_tricks = TEXT
lib.venstre_ad_tricks.value = <script type="text/javascript"><!--
google_ad_client = "pub-9999999999999999"; //160x600, oprettet 13-12-07
google_ad_slot = "9999999999"; google_ad_width = 160; google_ad_height =
600; //--></script><script type="text/javascript"
src=http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
The complete adsense code is written as one line and it dont work.
How do I write it with several lines so it workes?
Here is what it should look like:
<script type="text/javascript"><!--
google_ad_client = "pub-9999999999999999";
//160x600, oprettet 13-12-07
google_ad_slot = "9999999999";
google_ad_width = 160;
google_ad_height = 600;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
Thanks for helping.
/Morten
More information about the TYPO3-project-tt-news
mailing list