Pixel Page Help

Discussion in 'PHP' started by adamjblakey, Nov 20, 2007.

  1. #1
    Hi,

    I have a pixel site which i have a problem with. Basically if you click on a banner which has been placed on the site, what should happen is you go to their site. This happens but you also select a pixel which is on top of the banner.

    I need it to just pop up their site without selection any pixels.

    The code i narrowed it down to is:

    <?php
    foreach ($newsArray as $cur) {
     echo '<area href="'.$cur['link'].'" ALT="'.$cur['alt'].'" COORDS="'.(($cur['posx']*10)-10).','.(($cur['posy']*10)-10).','.((($cur['posx']*10)-10)+$cur['w']).','.((($cur['posy']*10)-10)+$cur['h']).'" target="_blank"  onclick="window.open(‘"'.$cur['link'].'"’,’newwin’); return false;">';
    } ?>
    
    Code (markup):
    Cheers,
    Adam
     
    adamjblakey, Nov 20, 2007 IP