第一,登陆到网站后台管理后台管理,点一下“我的文本文档”,把对广告宣传需要的照片提交好。点一下这里能查看“怎样提交照片”
第二,寻找这幅图片右侧的“访问”按键,点击电脑鼠标鼠标右键,挑选“特性”(以下图),将网站地址拷贝到记事簿本里(注:点击“刚开始”莱单/程序/配件/记事簿本,就可以开启记事簿本)。
第三步:在后台管理点一下网页页面编写器的正下方的“编码”,把鼠标光标精准定位在最终一行,随后把下列编码黏贴进去。
留意看您的照片的文件格式,假如对联广告宣传的照片是jpg或是gif文件格式的,就黏贴下列编码一;假如对联广告宣传的照片是swf文件格式的FLASH照片,就黏贴下列编码二:
编码一以下(留意黏贴后将下边蓝紫色的文本表明换为刚刚存有记事簿本里的照片的网站地址,将鲜红色的文本表明换为要连接的网站地址,例如点一下广告宣传连接到163,就可以。):
SCRIPT language=JavaScript
!--
var delta=0.15
var collection;
var closeB=false;
function floaters() {
this.items = [];
this.addItem = function(id,x,y,content)
{
document.write(' DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute; width:80px; height:60px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'" '+content+' /DIV
var newItem = {};
newItem.object = document.getElementById(id);
newItem.x = x;
newItem.y = y;
this.items[this.items.length] = newItem;
}
this.play = function()
{
collection = this.items
setInterval('play()',10);
}
}
function play()
{
if(screen.width =648 || closeB)
{
for(var i=0;i collection.length;i++)
{
collection[i].object.style.display = 'none';
}
return;
}
for(var i=0;i collection.length;i++)
{
var followObj = collection[i].object;
var followObj_x = (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
var followObj_y = (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);
if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
dx=(dx 0?1:-1)*Math.ceil(Math.abs(dx));
followObj.style.left=followObj.offsetLeft+dx;
}
if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
dy=(dy 0?1:-1)*Math.ceil(Math.abs(dy));
followObj.style.top=followObj.offsetTop+dy;
}
followObj.style.display = '';
}
}
function closeBanner()
{
closeB=true;
return;
}
var theFloaters = new floaters();
//
theFloaters.addItem('followDiv2',6,30,' a href=左边照片要连接的阿里云域名页的网站地址 target=_blank img src=左边这幅图片自身的网站地址 border=0 /a br br img align=right src="/images/ADclose.gif" border="0"
theFloaters.addItem('followDiv1','document.body.clientWidth-100',30,' a href=右边照片要连接的阿里云域名页的网站地址 target=_blank img align=right src=右边这幅图片自身的网站地址 border=0 /a
theFloaters.play();
//--
/SCRIPT
编码二以下(留意黏贴后,要填好FLASH的高宽比、总宽和网站地址):
SCRIPT language=JavaScript
!--
var delta=0.15
var collection;
var closeB=false;
function floaters() {
this.items = [];
this.addItem = function(id,x,y,content)
{
document.write(' DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute; width:80px; height:60px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'" '+content+' /DIV
var newItem = {};
newItem.object = document.getElementById(id);
newItem.x = x;
newItem.y = y;
this.items[this.items.length] = newItem;
}
this.play = function()
{
collection = this.items
setInterval('play()',10);
}
}
function play()
{
if(screen.width =648 || closeB)
{
for(var i=0;i collection.length;i++)
{
collection[i].object.style.display = 'none';
}
return;
}
for(var i=0;i collection.length;i++)
{
var followObj = collection[i].object;
var followObj_x = (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
var followObj_y = (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);
if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
dx=(dx 0?1:-1)*Math.ceil(Math.abs(dx));
followObj.style.left=followObj.offsetLeft+dx;
}
if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
dy=(dy 0?1:-1)*Math.ceil(Math.abs(dy));
followObj.style.top=followObj.offsetTop+dy;
}
followObj.style.display = '';
}
}
function closeBanner()
{
closeB=true;
return;
}
var theFloaters = new floaters();
//
theFloaters.addItem('followDiv2',6,30,' EMBED src="左侧FLASH照片的网站地址" quality=high bgcolor=#FFFFFF WIDTH="FLASH的总宽" HEIGHT="FLASH的高宽比" NAME="flashdlleft" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="go/getflashplayer" /EMBED br br img align=right src="/images/ADclose.gif" border="0"
theFloaters.addItem('followDiv1','document.body.clientWidth-100',30,' EMBED src="右侧FLASH照片的网站地址" quality=high bgcolor=#FFFFFF WIDTH="FLASH的总宽" HEIGHT="FLASH的高宽比" NAME="flashdlright" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="'">go/getflashplayer" /EMBED ');
theFloaters.play();
//--
/SCRIPT
假如您必须添加的FLASH对联广告宣传为全透明FLASH,请按下列编码添加:(留意黏贴后,要填好FLASH的高宽比、总宽和网站地址):
下列是编码片断:
SCRIPT language=JavaScript
!--
var delta=0.15
var collection;
var closeB=false;
function floaters() {
this.items = [];
this.addItem = function(id,x,y,content)
{
document.write(' DIV id='+id+' style="Z-INDEX: 10; POSITION: absolute; width:80px; height:60px;left:'+(typeof(x)=='string'?eval(x):x)+';top:'+(typeof(y)=='string'?eval(y):y)+'" '+content+' /DIV
var newItem = {};
newItem.object = document.getElementById(id);
newItem.x = x;
newItem.y = y;
this.items[this.items.length] = newItem;
}
this.play = function()
{
collection = this.items
setInterval('play()',10);
}
}
function play()
{
if(screen.width =648 || closeB)
{
for(var i=0;i collection.length;i++)
{
collection[i].object.style.display = 'none';
}
return;
}
for(var i=0;i collection.length;i++)
{
var followObj = collection[i].object;
var followObj_x = (typeof(collection[i].x)=='string'?eval(collection[i].x):collection[i].x);
var followObj_y = (typeof(collection[i].y)=='string'?eval(collection[i].y):collection[i].y);
if(followObj.offsetLeft!=(document.body.scrollLeft+followObj_x)) {
var dx=(document.body.scrollLeft+followObj_x-followObj.offsetLeft)*delta;
dx=(dx 0?1:-1)*Math.ceil(Math.abs(dx));
followObj.style.left=followObj.offsetLeft+dx;
}
if(followObj.offsetTop!=(document.body.scrollTop+followObj_y)) {
var dy=(document.body.scrollTop+followObj_y-followObj.offsetTop)*delta;
dy=(dy 0?1:-1)*Math.ceil(Math.abs(dy));
followObj.style.top=followObj.offsetTop+dy;
}
followObj.style.display = '';
}
}
function closeBanner()
{
closeB=true;
return;
}
var theFloaters = new floaters();
//
theFloaters.addItem('followDiv2',6,30,' param name="wmode" value="transparent" EMBED src="左侧FLASH照片的网站地址" quality=high bgcolor=#FFFFFF WIDTH="FLASH的总宽" HEIGHT="FLASH的高宽比" NAME="flashdlleft" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="go/getflashplayer" /EMBED br br img align=right src="/images/ADclose.gif" border="0"
theFloaters.addItem('followDiv1','document.body.clientWidth-100',30,' param name="wmode" value="transparent" EMBED src="右侧FLASH照片的网站地址" quality=high bgcolor=#FFFFFF WIDTH="FLASH的总宽" HEIGHT="FLASH的高宽比" NAME="flashdlright" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="go/getflashplayer" /EMBED ');
theFloaters.play();
//--
/SCRIPT
温暖小提醒:顶端区和顶端区,是每一个网页页面都可以看到的。假如期待每一个网页页面都可以看到对联广告宣传,则把编码放进顶端区或是底端区。假如只为才出現对联广告宣传,则在首页,立即应用“广告宣传设定”按键,设定对联广告宣传就可以,不用按文中详细介绍的这一方式实际操作。