Solved! Thank you :)
On Nov 21, 9:04 am, FiXato <[EMAIL PROTECTED]> wrote:
> Hi Jesse, you should try to use the :javascript filter which will
> automatically add script tags and CDDATA comments around your
> javascript block.
> Try this:HAML:
> #leftcol
> .adsense
> :javascript
> google_ad_client = "pub-6518027506146284";
> /* Nutrograph wide skyscraper */
> google_ad_slot = "9307158745";
> google_ad_width = 160;
> google_ad_height = 600;
> %script{:src=>'http://pagead2.googlesyndication.com/pagead/show_ads.js'}
>
> HTML:
> <div id='leftcol'>
> <div class='adsense'>
> <script type='text/javascript'>
> //<![CDATA[
> google_ad_client = "pub-6518027506146284";
> /* Nutrograph wide skyscraper */
> google_ad_slot = "9307158745";
> google_ad_width = 160;
> google_ad_height = 600;
> //]]>
> </script>
> <script
> src='http://pagead2.googlesyndication.com/pagead/show_ads.js'></script>
> </div>
> </div>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---