How do advertising networks show ads?

Discussion in 'Programming' started by MCJim, Sep 5, 2008.

  1. #1
    I'm curious, how do advertising networks show advertisements? Example, here is a link you would put on your site for an advertisement:


    <script language='JavaScript' type='text/javascript' src='http://clicktorrent.info/phpAdsNew/adx.js'></script>
    Code (markup):

    If you open that, this is all there is:

    function phpads_deliverActiveX(content)
    {
    	document.write(content);	
    }
    Code (markup):
    so what type of code is embedded in the javascript file that doesn't show?
     
    MCJim, Sep 5, 2008 IP
  2. MCJim

    MCJim Peon

    Messages:
    163
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    anyone???????
     
    MCJim, Sep 6, 2008 IP
  3. MCJim

    MCJim Peon

    Messages:
    163
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    no one knows?

    perhaps a better question is, what code can you embed in a javascript file (.js) that doesn't appear on the client-end and can interact with a javascript function?
     
    MCJim, Sep 7, 2008 IP