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.

<no script> code

Discussion in 'AdSense' started by miko, Nov 13, 2006.

  1. #1
    I saw a atricle awhile ago on this forum about adding <no script> code after adsense code on webpage.

    The purpose of this code was to load something else incase google ads fail.

    Can someone please help me with this?

    Thank you.
     
    miko, Nov 13, 2006 IP
  2. pixads

    pixads Well-Known Member

    Messages:
    2,015
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    145
    #2
    this would be interesting

    post here if you find more info
     
    pixads, Nov 13, 2006 IP
  3. giraph

    giraph Guest

    Messages:
    484
    Likes Received:
    27
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It's pretty simple, if javascript is disabled on a browser than it will load what's in the <noscript> tags. If javascript is enabled then it will not. So you could do something like
    
    <script>
    adsense code
    </script>
    <noscript>
    You don't have javascript enabled so here's a non-javascript ad
    </noscript>
    
    Code (markup):
     
    giraph, Nov 13, 2006 IP