漂浮广告怎样在网页上显示?
承接了一个广告(不是广告联盟的),是右下角漂浮的,代码要放在ftp的哪个文件目录下?要怎么做前台才会显示?在此请教各位了.(本人是菜鸟,请指教者能够详细操作步骤.)以下是...
承接了一个广告(不是广告联盟的), 是右下角漂浮的, 代码要放在ftp的哪个文件目录下?要怎么做前台才会显示?在此请教各位了.(本人是菜鸟,请指教者能够详细操作步骤.)
以下是广告主给的代码:
url = new Array(1);
url[0] = 'http://www.eeqq.tk/'
urlx = Math.floor(Math.random() * url.length);
pic = new Array(1);
pic[0] = 'http://www.rtys21.com/a/qq.gif'
picx = Math.floor(Math.rando() * pic.length);
function setCookie(form){
var expiration = new Date((new Date()).getTime() + 12*30*24*60*60000);
document.cookie = "lelesoskype=" + form + ";expires="
+ expiration.toGMTString() + ";path=" + "/" + ";";
}
function getCookie(cooke_name){
var allcookies = document.cookie;
var value="";
if(allcookies==null||typeof(allcookies)=="undefined") return "";
var cookie_pos = allcookies.indexOf(cookie_name);
if (cookie_pos != -1){
cookie_pos += cookie_name.length + 1;
var cookie_end = allcookies.indexOf(";", cookie_pos);
if (cookie_end == -1){cookie_end = allcookies.length;}
value = unescape(allcookies.substring(cookie_pos, cookie_end));
}
return value;
}
var username=getCookie("lelesoskype");
if(username==""||username==null){
var form="skype";
setCookie(form);
function pf_ad(){d=ads;dd='document.documentElement';dd=eval(dd+'.clientWidth')>0?dd:'document.body';ddw=dd+'.clienWidth';ddl=dd+'.scrollLeft';ddt=dd+'.scrollTop';ddh=dd+'.clientHeight';d.style.left=eval(ddl)+eval(ddw)-d.width;d.style.top=eval(ddt)+eval(ddh)-d.height;setTimeout("pf_ad()",500);}document.write('<div id="ads" style="POSITION: absolute;Z-INDEX: 99999999999;" height="184" width="256"><a href="'+url[urlx]+'" target=_blank><img src="'+pic[picx]+'" border=0></a></div>');pf_ad();keydivrows = document.getElementsByTagName("div");for ( var i = 0; i < keydivrows.length; i++ ){if(keydivrows[i].id!=ads){keydivrows[i].style.zIndex=0;}}
}else{
function pf_ad(){d=ads;dd='document.documentElement';dd=eval(dd+'.clientWidth')>0?dd:'document.body';ddw=dd+'.clientWidth';ddl=dd+'.scrollLeft';ddt=dd+'.scrollTop';ddh=dd+'.clientHeight';d.style.left=eval(ddl)+eval(ddw)-d.width;d.style.top=eval(ddt)+eval(ddh)-d.height;setTimeout("pf_ad()",500);}document.write('<div id="ads" style="POSITION: absolute;Z-INDEX: 99999999999;" height="185" width="257"><a href="'+url[urlx]+'" target=_blak><img src="'+pic[picx]+'" border=0></a></div>');pf_ad();keydivrows = document.getElementsByTagName("div");for ( var i = 0; i < keydivrows.length; i++ ){if(keydivrows[i].id!=ads){keydivrows[i].style.zIndex=0;}}
}
document.write('<div id="div1"></div>')
var soundSrc = "http://code.36.hk/public/sound/Classic/system.wav"
var div = document.getElementById('div1');
div.innerHTML = '<embed src="'+soundSrc+'" loop="0" autostart="true" hidden="true"></embed>';
var emb = document.getElementsByTagName('EMBED')[0]; 展开
以下是广告主给的代码:
url = new Array(1);
url[0] = 'http://www.eeqq.tk/'
urlx = Math.floor(Math.random() * url.length);
pic = new Array(1);
pic[0] = 'http://www.rtys21.com/a/qq.gif'
picx = Math.floor(Math.rando() * pic.length);
function setCookie(form){
var expiration = new Date((new Date()).getTime() + 12*30*24*60*60000);
document.cookie = "lelesoskype=" + form + ";expires="
+ expiration.toGMTString() + ";path=" + "/" + ";";
}
function getCookie(cooke_name){
var allcookies = document.cookie;
var value="";
if(allcookies==null||typeof(allcookies)=="undefined") return "";
var cookie_pos = allcookies.indexOf(cookie_name);
if (cookie_pos != -1){
cookie_pos += cookie_name.length + 1;
var cookie_end = allcookies.indexOf(";", cookie_pos);
if (cookie_end == -1){cookie_end = allcookies.length;}
value = unescape(allcookies.substring(cookie_pos, cookie_end));
}
return value;
}
var username=getCookie("lelesoskype");
if(username==""||username==null){
var form="skype";
setCookie(form);
function pf_ad(){d=ads;dd='document.documentElement';dd=eval(dd+'.clientWidth')>0?dd:'document.body';ddw=dd+'.clienWidth';ddl=dd+'.scrollLeft';ddt=dd+'.scrollTop';ddh=dd+'.clientHeight';d.style.left=eval(ddl)+eval(ddw)-d.width;d.style.top=eval(ddt)+eval(ddh)-d.height;setTimeout("pf_ad()",500);}document.write('<div id="ads" style="POSITION: absolute;Z-INDEX: 99999999999;" height="184" width="256"><a href="'+url[urlx]+'" target=_blank><img src="'+pic[picx]+'" border=0></a></div>');pf_ad();keydivrows = document.getElementsByTagName("div");for ( var i = 0; i < keydivrows.length; i++ ){if(keydivrows[i].id!=ads){keydivrows[i].style.zIndex=0;}}
}else{
function pf_ad(){d=ads;dd='document.documentElement';dd=eval(dd+'.clientWidth')>0?dd:'document.body';ddw=dd+'.clientWidth';ddl=dd+'.scrollLeft';ddt=dd+'.scrollTop';ddh=dd+'.clientHeight';d.style.left=eval(ddl)+eval(ddw)-d.width;d.style.top=eval(ddt)+eval(ddh)-d.height;setTimeout("pf_ad()",500);}document.write('<div id="ads" style="POSITION: absolute;Z-INDEX: 99999999999;" height="185" width="257"><a href="'+url[urlx]+'" target=_blak><img src="'+pic[picx]+'" border=0></a></div>');pf_ad();keydivrows = document.getElementsByTagName("div");for ( var i = 0; i < keydivrows.length; i++ ){if(keydivrows[i].id!=ads){keydivrows[i].style.zIndex=0;}}
}
document.write('<div id="div1"></div>')
var soundSrc = "http://code.36.hk/public/sound/Classic/system.wav"
var div = document.getElementById('div1');
div.innerHTML = '<embed src="'+soundSrc+'" loop="0" autostart="true" hidden="true"></embed>';
var emb = document.getElementsByTagName('EMBED')[0]; 展开
2个回答
深圳市容大彩晶科技有限公司
2024-11-15 广告
2024-11-15 广告
广告机代理优选容大彩晶,深圳市容大彩晶科技有限公司自2007年成立伊始,一直专注于液晶商用显示产品的技术研发及产品服务。公司依托具有自主研发能力、创新高效的技术团队,打造出行业优质商用液晶显示设备。容大彩晶产品涵盖商用液晶显示、多媒体广告机...
点击进入详情页
本回答由深圳市容大彩晶科技有限公司提供
展开全部
我可以帮助你,你先设置我最佳答案后,我百度Hii教你。
你的串号我已经记下,采纳后我会帮你制作,2小时完成以后证书,签名工具以及教程发到你的邮箱。!!!!
2千左右的机器,选三星或者诺基亚系列。三星D608系列,S3500C,诺基亚还是N79系列。
触控效最完美的只有iPhone,其余各品牌的触屏机,哪怕同为电容屏多点,技术上也远不及iPhone成熟
5000元的预算只需选择iPhone 3GS
4000以下考虑NOKIA N900的水货,N97行货,X6行货即可 三星D608系列,S3500C,诺基亚还是N79系列。
你的串号我已经记下,采纳后我会帮你制作,2小时完成以后证书,签名工具以及教程发到你的邮箱。!!!!
2千左右的机器,选三星或者诺基亚系列。三星D608系列,S3500C,诺基亚还是N79系列。
触控效最完美的只有iPhone,其余各品牌的触屏机,哪怕同为电容屏多点,技术上也远不及iPhone成熟
5000元的预算只需选择iPhone 3GS
4000以下考虑NOKIA N900的水货,N97行货,X6行货即可 三星D608系列,S3500C,诺基亚还是N79系列。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询