ถ้าต้องการให้แบนเนอร์โชว์ และมี text ให้กดลิงค์ไปได้ อยู่มุมขวาด้านล่าง banner เหมือน นิภา บัมคิว หรือ adsense ต้องทำอย่างไรรึครับ
สคริปต้นฉบับเป็นแบบนี้ครับ [เรียกโชว์แบนเนอร์]
<script type="text/javascript">
var destlink = ["
http://localhost/media/click.php?bid=1 
", "
http://localhost/media/click.php?bid=2 
"];
var imglink = ["
http://localhost/media/track/tracker.php?bid=1 
", "
http://localhost/media/track/tracker.php?bid=2 
"];
var index = Math.floor(Math.random() * destlink.length);
var ads = '<a href="' destlink[index] '">' '<img src=' imglink[index] ' />' '</a>';
document.write(ads);
</script>
หากใครทำได้คิดค่าเหนื่อยแจ้ง PM ได้เลยนะครับ
ขอบคุณครับ