Can someone help me understand this HTML?

Discussion in 'OT Technology' started by FLY-FAST, Jul 24, 2007.

  1. FLY-FAST

    FLY-FAST OT Supporter

    Joined:
    Sep 30, 2003
    Messages:
    8,713
    Likes Received:
    3
    Location:
    boston, MA
    OK, I'm trying to understand how adsense has been implemented at:

    www.hartcrafts.com

    This was just a generic template, and I Wanted to put my adsense info in there and play with it a bit. But, when I view the source, I can't find any reference to the adsense stuff in index.htm nor the .css.

    I'd just like to change tehre adsense info to mine, can anyone lend a hand? :bowdown:
     
  2. P07r0457

    P07r0457 New Member

    Joined:
    Sep 20, 2004
    Messages:
    28,491
    Likes Received:
    0
    Location:
    Southern Oregon
  3. 95vr4

    95vr4 OT Supporter

    Joined:
    Oct 6, 2004
    Messages:
    2,513
    Likes Received:
    0
    Location:
    Weddington, NC
    I don't see any adsense running on that link. It looks like they are running some kind of ads called through alphagodaddy.com (never heard of it). It's the external javascript at the bottom of the html page and can be seen here

    https://a12.alphagodaddy.com/hosting_ads/gd01.js
     
  4. Slid.

    Slid. I'm a guy.

    Joined:
    Oct 25, 2001
    Messages:
    1,928
    Likes Received:
    0
    Location:
    NH
    Remove the .js and the ads will go away. If you intend on using goDaddy Free Hosting you won't be able to remove the ads.

    Creates an iFrame:
    Code:
    var htmlStr = '<iframe id="conash3D0" frameborder=0 border=0 width="100%" height="115px" marginwidth=0 marginheight=0 allowtransparency=true vspace=0 hspace=0 scrolling=no src="' + url + 
    '"></iframe>';
    
    Puts it at the top of the page..
    Code:
    var parsedHTML = r.createContextualFragment(htmlStr);
    
    document.body.insertBefore(parsedHTML, document.body.firstChild);
    
     
  5. FLY-FAST

    FLY-FAST OT Supporter

    Joined:
    Sep 30, 2003
    Messages:
    8,713
    Likes Received:
    3
    Location:
    boston, MA
    So it's godaddy putting the ads in there?
     

Share This Page