1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

To change background color, is new code needed?

Discussion in 'AdSense' started by dinrock, Jul 11, 2009.

  1. #1
    I own: http://www.newswind.info/ and wonder if I can blend that background color a bit more on those ads by accessing them in my AdSense account? Or do I need to create a new code completely?
     
    dinrock, Jul 11, 2009 IP
  2. dalem

    dalem Peon

    Messages:
    494
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Create a new code in Adsense.
    If you have Photoshop use the color picker to find the number of your background color.
    Actually don't bother I just did it for you.

    Try #a0c9e5 as the background and border.

     
    dalem, Jul 11, 2009 IP
  3. airraid81

    airraid81 Active Member

    Messages:
    689
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #3
    You don't need new code. You just log into Adsense and go to manage ads and you can automatically change the code in Adsense without copy and paste or creating new ads.
     
    airraid81, Jul 11, 2009 IP
  4. dinrock

    dinrock Well-Known Member

    Messages:
    1,150
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    128
    #4
    thank you AirRaid81....actually Dalem helped me out by sending along that palette code and I use it on the skyscraper on the right side of: http://www.newswind.info and I see what you mean....unfortunately, AdSense is currently down for the rest of the afternoon so cannot configure the other two 468X60's until later.
    But thanks alot for letting me know about this part of working on the codes....good info.
    I can't do anything else except to say thanks and offer you my daily web cartoon which you can add to any site by pasting in:

    <a href="http://danscartoons.com/"><img border="2" src="http://danscartoons.com/cotd/dailycartoon.php">

    wherever you want the daily cartoon to appear. It would update automatically tonight at 2AM New York City time and does this on a continual basis, 24/7/365. None of the cartoons scheduled are vulgar. I guarantee all future cartoons scheduled are 100% family-friendly. Another alternative if you are on the WordPress platform is to offer you the same cartoon as a plugin and you can download the plugin here: http://wordpress.org/extend/plugins/wp-cartoon/ and see the same cartoon that appears at the very bottom of my www.newswind.info site. I appreciated your assistance on this!
     
    dinrock, Jul 11, 2009 IP
  5. elizas

    elizas Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    The following Javascript code will help you change the background-color of your web-page automatically and at a time-interval (in milli-seconds) as specified in the code.

    <head>
    <script type="text/javascript" language="javascript">


    /* Method To Generate Random Numbers Between "0-255" for RGB Color-code Format & Assign To Body-Backgrond-Style */

    function bgDisco()
    {
    var x =Math.round(255*Math.random());

    var num1 =getHex(x);

    var y =Math.round(255*Math.random());

    var num2 =getHex(y);

    var z =Math.round(255*Math.random());

    var num3 =getHex(z);

    document.body.style.background="#"+num1+num2+num3;

    setTimeout("bgDisco()",1000);
    }

    /* Method To Convert Decimal To Hexadecimal */

    function getHex(dec)
    {
     
    elizas, Apr 29, 2010 IP
  6. pr678

    pr678 Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    try to place you ad on the top of your topic? will it be better?
     
    pr678, Apr 29, 2010 IP
  7. gulamkakoo

    gulamkakoo Peon

    Messages:
    169
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    If you want to change the background of the ads than go to manage ads in adsense, find the right ad unit which you place on that site and edit it. change the color which you want and save it. after 10 to 15 minutes see your site and the color will be changed
     
    gulamkakoo, May 3, 2010 IP