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.

Working out Position of Element

Discussion in 'HTML & Website Design' started by zanis, May 4, 2005.

  1. #1
    Hello all,

    I run a free community based advertising program to help promote NZ business online. Each person who joins must add JavaScript code to their web site which calls an ad server that sends down 3 text based ads. Now because its free the Js code should be placed above the fold or close to it. I was wondering if there is a way in code - JS or PHP to work out where the JS code has been placed on a web page. This is to keep all members honest.

    Best Regards
    zanis, May 4, 2005 IP