2011-04-20 111 views
0

大家好,我有一個旗幟在我的PHP代碼如下產生:不能上廣告橫幅點擊

<script language='JavaScript' type='text/javascript'> 
    randomstr = new String (Math.random()); 
    randomstr = randomstr.substring(1,8); 
    document.write ("<" + "script language='JavaScript' type='text/javascript' src='" + "http://test.5imedia.vn/adj.php?ts=" + randomstr + "&amp;sid=57953373149" + "'><" + "/script>"); 
</script> 
<noscript> 
    <a href='http://test.5imedia.vn/adc.php?sid=57953373149' > 
     <img src='http://test.5imedia.vn/adv.php?sid=57953373149' border='0'> 
    </a> 
</noscript> 

請一下,並幫我爲什麼不能點擊此閃光燈跟隨進階鏈接。

回答

0

我已經將您的代碼粘貼到一個空的html文檔中,並在Firefox4,IE8和Google Chrome中啓動它們,並且它們都顯示廣告(Tankzors)並在http://mclub.vn/Tankzor.htm處打開一個新窗口,當我單擊右側廣告。

值得注意的是,動畫播放的'Tankzors'廣告的左側點擊時不會打開鏈接。這是Flash廣告的問題,但不是你粘貼的那段代碼。

tl; dr版本:問題在於flash文檔,而不是您粘貼的代碼。

+0

感謝您的建議。在深入研究之後,看到閃存需要開啓代碼(按) getURL(clickTAG,「_blank」); } – tieungao 2011-04-21 08:30:06