Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New to the CF scene
    Join Date
    Jul 2004
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question retrieving external CSS properties for AdSense

    Hi,

    I found that tutorial
    http://javascriptkit.com/dhtmltutors...cascade4.shtml
    and as suggested I came here to get some help because I don't know JS syntax at all.

    My site use Google AdSense and LOTS of external CSS files,
    users are even able to create their own,
    so I really need the ads to dynamically fit the CSS.

    AdSense code :

    Code:
    <script type="text/javascript">
    <!--
    google_ad_client = "pub-1814817475011457";
    google_color_text = "999999";
    google_ad_channel ="4693942683";
    google_ad_type = "text";
    google_ad_width = 120;
    google_ad_height = 600;
    google_ad_format = "120x600_as";
    google_color_border = "FFFFFF";
    google_color_bg = "FFFFFF";
    google_color_link = "999999";
    google_color_url = "0066FF";
    //-->
    </script>
    
    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    Example of CSS file :

    Code:
    <style type='text/css' media='screen'>@import "http://domain.com/banana.css";</style>
    Example of property :

    Code:
    .pineapple {
    color: #00ff00;
    }

    Could someone please write me the full syntax with google_color_link (for example) ?
    Thanks by advance.
    Last edited by eSite; 07-21-2004 at 05:53 PM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •