2007-6-23 14:12
羽河
7099的FLASH播放器,插入的廣告點擊是流量的4成
7099.com 的FLASH播放器,插入的廣告點擊是流量的4成.雖然我不是首發這裡.但我相信.這裡很多朋友.都已經復制過來了.
但復制的情況.有很多東西.大家都沒注意的.7099投放的廣告位置.說真.我也佩服自己.7099 IP是3萬多.廣告點擊率是1萬.
如果說.按阿裡的 千次點擊40-50的話.我估計是400-500一天.那我的ACC便會被CUT了
其中這1萬的點擊有7-8成都是從 這FLASH裡點出的.現在我給出個完整的代碼.和插入廣告的位置.先說明.廣告總是一個的話.
點擊是不會高的.要搞個隨機代碼顯示AD的JS.這JS代碼如下
[code]var m=10; //共幾個Banner隨機顯示
var n=Math.floor(Math.random()*m+1)
switch(n)
{
case 1:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_2.html\"></iframe>");
break;
case 2:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_3.html\"></iframe>");
break;
case 3:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_4.html\"></iframe>");
break;
case 4:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_5.html\"></iframe>");
break;
case 5:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_6.html\"></iframe>");
break;
case 6:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_7.html\"></iframe>");
break;
case 7:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_8.html\"></iframe>");
break;
case 8:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_9.html\"></iframe>");
break;
case 9:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_10.html\"></iframe>");
break;
case 10:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_11.html\"></iframe>");
break;
case 11:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_12.html\"></iframe>");
break;
case 12:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_13.html\"></iframe>");
break;
case 13:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_14.html\"></iframe>");
break;
case 14:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_15.html\"></iframe>");
break;
case 15:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_16.html\"></iframe>");
break;
case 16:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_17.html\"></iframe>");
break;
case 17:
document.writeln("<iframe marginwidth=\"0\" marginheight=\"0\" width=\"100%\" height=\"100%\" scrolling=\"no\" border=\"0\" frameborder=\"0\" src=\"ad1_11.html\"></iframe>");
break;
}[/code]
先在後邊的 帖子管理 - Discuz! 代碼 - 新增: 下邊代碼
[code]<table border="0" width="500" cellspacing="1" style="border: 1px dotted #808080" bgcolor="#FFFFFF">
<tr>
<td>
<div>
<input id="bShow{1}" type="hidden" value="-1" />
<a href="javascript:ubbShowObj('swf','{1}','{1}','500','420');">
<img src="http://7099.com/bbs/images/default/play.gif" border="0" alt="請選擇:打開視頻/關閉視頻" />
</a>
<div id="{1}">插入廣告"當點擊打開視頻時廣告消失,我用7099做時,廣告一點的點擊率是流量的3-4成"</div>
</div>
</td></tr><tr><td>
<p align="center">
<img border="0" src="http://7099.com/bbs/images/default/warning.gif" width="16" height="16">觀看本站電影需要安裝 FLASH 和 BOBO
</td></tr></table>
[/code]
===============
UBB FLASH播放器
在 DZ 的 header.htm 中 </head> 前 添加 <script src="ubb.js" type="text/javascript"></script>
下內容保存為ubb.js,然後上傳到 DZ 目錄下
[code]function showHideSidebar(){
try{
var objSidebar=document.getElementById("sidebar");
var objContent=document.getElementById("content");
if(objSidebar.className!="sidebar-hide"){
objSidebar.className="sidebar-hide";
objSidebar.style.display="none";
objContent.className="content-wide";
}else{
objSidebar.className="sidebar";
objSidebar.style.display="block";
objContent.className="content";
}
}catch(e){}
}
function ubbShowObj(strType,strID,strURL,intWidth,intHeight)
{
var objPrefix="bShow";
var tmpstr="";
var bSwitch = false;
//Reverse the State
bSwitch = document.getElementById(objPrefix+strID).value;
bSwitch =~bSwitch;
document.getElementById(objPrefix+strID).value = bSwitch;
if(bSwitch){
//Code for already shown by 4J4J.com
document.getElementById(strID).innerHTML = "";
}else{
//Code for not shown by 4J4J.com
switch(strType){
case "swf":
tmpstr='<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+intWidth+'" height="'+intHeight+'"><param name="movie" value="'+strURL+'" /><param name="quality" value="high" /><param name="AllowScriptAccess" value="never" /><embed src="'+strURL+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+intWidth+'" height="'+intHeight+'" /></object>';
break;
}
document.getElementById(strID).innerHTML = tmpstr;
}
}[/code]
[[i] 本帖最後由 羽河 於 2007-6-23 14:14 編輯 [/i]]