关键词
最优秀的发帖人
tcw987654321 (2424) | ||||
tiger_tiger (2015) | ||||
梦随峰飘 (542) | ||||
868 (284) | ||||
mmao21 (251) | ||||
x__________________X (222) | ||||
y4341991 (101) | ||||
花生省魔术 (98) | ||||
Tiger&蘋果爸 (80) | ||||
pyy (74) |
我想要这个代码,要怎样拿??
3 posters
回复: 我想要这个代码,要怎样拿??
看过了,假如就这样下载,你是需要FTP把这堆东西上传的...在龙论坛是不允许的
如果要弄进去的话,不是没有方法,不过太繁复...所以,我们可以为您度身订造...不过你要说你想要哪个,然后在这回帖,我弄好就把代码给你放进去首页留言就行了
如果要弄进去的话,不是没有方法,不过太繁复...所以,我们可以为您度身订造...不过你要说你想要哪个,然后在这回帖,我弄好就把代码给你放进去首页留言就行了
对联广告代码 (Ad-01)
<script language="JavaScript">
function initEcAd() {
document.all.AdLayer1.style.posTop = -200;
document.all.AdLayer1.style.visibility = 'visible'
document.all.AdLayer2.style.posTop = -200;
document.all.AdLayer2.style.visibility = 'visible'
MoveLeftLayer('AdLayer1');
MoveRightLayer('AdLayer2');
}
function MoveLeftLayer(layerName) {
var x = 5;
var y = 100;
var diff = (document.body.scrollTop + y - document.all.AdLayer1.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = parseInt(y)");
eval("document.all." + layerName + ".style.posLeft = x");
setTimeout("MoveLeftLayer('AdLayer1');", 20);
}
function MoveRightLayer(layerName) {
var x = 5;
var y = 100;
var diff = (document.body.scrollTop + y - document.all.AdLayer2.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posRight = x");
setTimeout("MoveRightLayer('AdLayer2');", 20);
}
document.write("<div id=AdLayer1 style='position: absolute;visibility:hidden;z-index:1'><a href='http://help.cool5site.biz' target='_blank'><img src=https://2img.net/i/fa/admin/icones/help_zh.png border='0'></a></div>"
+"<div id=AdLayer2 style='position: absolute;visibility:hidden;z-index:1'><a href='http://www.longluntan.cn' target='_blank'><img src=http://www.longluntan.cn/i/img/zh/logo.png border='0'></a></div>");
initEcAd()
</script>
备注(代码修改):
红字:左面广告与页首距离
绿字:右面广告与页首距离
深红色:左面广告的超连结URL地址
橙色:左面广告的图片地址
蓝色:右面广告的超连结URL地址
紫色:右面广告的图片地址
function initEcAd() {
document.all.AdLayer1.style.posTop = -200;
document.all.AdLayer1.style.visibility = 'visible'
document.all.AdLayer2.style.posTop = -200;
document.all.AdLayer2.style.visibility = 'visible'
MoveLeftLayer('AdLayer1');
MoveRightLayer('AdLayer2');
}
function MoveLeftLayer(layerName) {
var x = 5;
var y = 100;
var diff = (document.body.scrollTop + y - document.all.AdLayer1.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = parseInt(y)");
eval("document.all." + layerName + ".style.posLeft = x");
setTimeout("MoveLeftLayer('AdLayer1');", 20);
}
function MoveRightLayer(layerName) {
var x = 5;
var y = 100;
var diff = (document.body.scrollTop + y - document.all.AdLayer2.style.posTop)*.40;
var y = document.body.scrollTop + y - diff;
eval("document.all." + layerName + ".style.posTop = y");
eval("document.all." + layerName + ".style.posRight = x");
setTimeout("MoveRightLayer('AdLayer2');", 20);
}
document.write("<div id=AdLayer1 style='position: absolute;visibility:hidden;z-index:1'><a href='http://help.cool5site.biz' target='_blank'><img src=https://2img.net/i/fa/admin/icones/help_zh.png border='0'></a></div>"
+"<div id=AdLayer2 style='position: absolute;visibility:hidden;z-index:1'><a href='http://www.longluntan.cn' target='_blank'><img src=http://www.longluntan.cn/i/img/zh/logo.png border='0'></a></div>");
initEcAd()
</script>
备注(代码修改):
红字:左面广告与页首距离
绿字:右面广告与页首距离
深红色:左面广告的超连结URL地址
橙色:左面广告的图片地址
蓝色:右面广告的超连结URL地址
紫色:右面广告的图片地址
由tcw987654321于周二 四月 29, 2008 8:54 am进行了最后一次编辑,总共编辑了1次
漂浮广告代码 (Ad-61)
<script>
var imagepath="https://i.servimg.com/u/f41/12/11/71/33/0110.gif"
var imagewidth=80
var imageheight=80
var speed=3;
var imageclick="http://help.cool5site.biz"
var hideafter=0
var isie=0;
if(window.navigator.appName=="Microsoft Internet Explorer"&&window.navigator.appVersion.substring(window.navigator.appVersion.indexOf("MSIE")+5,window.navigator.appVersion.indexOf("MSIE")+8)>=5.5) {
isie=1;
}
else {
isie=0;
}
if(isie){
var preloadit=new Image()
preloadit.src=imagepath
}
function pop() {
if(isie) {
x=x+dx;y=y+dy;
oPopup.show(x, y, imagewidth, imageheight);
if(x+imagewidth+5>screen.width) dx=-dx;
if(y+imageheight+5>screen.height) dy=-dy;
if(x<0) dx=-dx;
if(y<0) dy=-dy;
startani=setTimeout("pop();",50);
}
}
function dismisspopup(){
clearTimeout(startani)
oPopup.hide()
}
function dowhat(){
if (imageclick=="dismiss")
dismisspopup()
else
window.open(imageclick);
}
if(isie) {
var x=0,y=0,dx=speed,dy=speed;
var oPopup = window.createPopup();
var oPopupBody = oPopup.document.body;
oPopupBody.style.cursor="hand"
oPopupBody.innerHTML = '<IMG SRC="'+preloadit.src+'">';
oPopup.document.body.onmouseover=new Function("clearTimeout(startani)")
oPopup.document.body.onmouseout=pop
oPopup.document.body.onclick=dowhat
pop();
if (hideafter>0)
setTimeout("dismisspopup()",hideafter*1000)
}
</script>
备注(代码修改):
红字:漂浮广告图片地址
橙字:广告图片之宽度
棕字:广告图片之高度
绿字:广告的超连结URL地址
var imagepath="https://i.servimg.com/u/f41/12/11/71/33/0110.gif"
var imagewidth=80
var imageheight=80
var speed=3;
var imageclick="http://help.cool5site.biz"
var hideafter=0
var isie=0;
if(window.navigator.appName=="Microsoft Internet Explorer"&&window.navigator.appVersion.substring(window.navigator.appVersion.indexOf("MSIE")+5,window.navigator.appVersion.indexOf("MSIE")+8)>=5.5) {
isie=1;
}
else {
isie=0;
}
if(isie){
var preloadit=new Image()
preloadit.src=imagepath
}
function pop() {
if(isie) {
x=x+dx;y=y+dy;
oPopup.show(x, y, imagewidth, imageheight);
if(x+imagewidth+5>screen.width) dx=-dx;
if(y+imageheight+5>screen.height) dy=-dy;
if(x<0) dx=-dx;
if(y<0) dy=-dy;
startani=setTimeout("pop();",50);
}
}
function dismisspopup(){
clearTimeout(startani)
oPopup.hide()
}
function dowhat(){
if (imageclick=="dismiss")
dismisspopup()
else
window.open(imageclick);
}
if(isie) {
var x=0,y=0,dx=speed,dy=speed;
var oPopup = window.createPopup();
var oPopupBody = oPopup.document.body;
oPopupBody.style.cursor="hand"
oPopupBody.innerHTML = '<IMG SRC="'+preloadit.src+'">';
oPopup.document.body.onmouseover=new Function("clearTimeout(startani)")
oPopup.document.body.onmouseout=pop
oPopup.document.body.onclick=dowhat
pop();
if (hideafter>0)
setTimeout("dismisspopup()",hideafter*1000)
}
</script>
备注(代码修改):
红字:漂浮广告图片地址
橙字:广告图片之宽度
棕字:广告图片之高度
绿字:广告的超连结URL地址
右上角翻页关闭 (Ad-09)
<script language = javascript>
function findObj(theObj, theDoc)
{
var p, i, foundObj;
if(!theDoc) theDoc = document;
if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
{
theDoc = parent.frames[theObj.substring(p+1)].document;
theObj = theObj.substring(0,p);
}
if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
for (i=0; !foundObj && i < theDoc.forms.length; i++)
foundObj = theDoc.forms[i][theObj];
for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++)
foundObj = findObj(theObj,theDoc.layers[i].document);
if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
return foundObj;
}
function showHideLayers()
{
var i, visStr, obj, args = showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3)
{
if ((obj = findObj(args[i])) != null)
{
visStr = args[i+2];
if (obj.style)
{
obj = obj.style;
if(visStr == 'show') visStr = 'visible';
else if(visStr == 'hide') visStr = 'hidden';
}
obj.visibility = visStr;
}
}
}
document.write('<div id="Layer1" style="position:absolute; right:0px; top:0px; width:350px; height:350px; z-index:99">');
document.write('<embed src="http://www.freewebtown.com/tcw987654321/ad/ad.swf" width="350" height="350" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>');
document.write('</div>');
</script>
蓝字: .swf档案地址
另外附送的几个.swf档案
http://www.freewebtown.com/tcw987654321/ad/a.swf
http://www.freewebtown.com/tcw987654321/ad/ezad0208_240240.swf
http://www.freewebtown.com/tcw987654321/ad/mxd_240_240.swf
自己的广告就要弄自己的.swf了...
function findObj(theObj, theDoc)
{
var p, i, foundObj;
if(!theDoc) theDoc = document;
if( (p = theObj.indexOf("?")) > 0 && parent.frames.length)
{
theDoc = parent.frames[theObj.substring(p+1)].document;
theObj = theObj.substring(0,p);
}
if(!(foundObj = theDoc[theObj]) && theDoc.all) foundObj = theDoc.all[theObj];
for (i=0; !foundObj && i < theDoc.forms.length; i++)
foundObj = theDoc.forms[i][theObj];
for(i=0; !foundObj && theDoc.layers && i < theDoc.layers.length; i++)
foundObj = findObj(theObj,theDoc.layers[i].document);
if(!foundObj && document.getElementById) foundObj = document.getElementById(theObj);
return foundObj;
}
function showHideLayers()
{
var i, visStr, obj, args = showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3)
{
if ((obj = findObj(args[i])) != null)
{
visStr = args[i+2];
if (obj.style)
{
obj = obj.style;
if(visStr == 'show') visStr = 'visible';
else if(visStr == 'hide') visStr = 'hidden';
}
obj.visibility = visStr;
}
}
}
document.write('<div id="Layer1" style="position:absolute; right:0px; top:0px; width:350px; height:350px; z-index:99">');
document.write('<embed src="http://www.freewebtown.com/tcw987654321/ad/ad.swf" width="350" height="350" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>');
document.write('</div>');
</script>
蓝字: .swf档案地址
另外附送的几个.swf档案
http://www.freewebtown.com/tcw987654321/ad/a.swf
http://www.freewebtown.com/tcw987654321/ad/ezad0208_240240.swf
http://www.freewebtown.com/tcw987654321/ad/mxd_240_240.swf
自己的广告就要弄自己的.swf了...
回复: 我想要这个代码,要怎样拿??
<div style="border-style: solid; border-color: rgb(166, 180, 207) rgb(69, 86, 144) rgb(69, 86, 144) rgb(166, 180, 207); border-width: 1px; z-index: 99999; left: 800px; width: 180px; position:absolute; top: 600px; height: 116px; background-color: rgb(201, 211, 243);" id="msn">
<table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#cfdef4" style="border-top: 1px solid rgb(255, 255, 255); border-left: 1px solid rgb(255, 255, 255);">
<tbody><tr><td width="26" valign="middle" height="24" style="font-size: 12px; background-image: url(images/msgTopBg.gif); color: rgb(15, 44, 140);"><img vspace="1" hspace="5" align="absmiddle" src="images/msgLogo.gif"/></td>
<td width="100%" valign="middle" style="font-weight: normal; font-size: 9pt; background-image: url(images/msgTopBg.gif); color: rgb(31, 51, 107); padding-top: 4px;">懒人图库整理</td>
<td width="19" valign="middle" align="right" style="background-image: url(images/msgTopBg.gif); padding-top: 2px;"><img hspace="3" title="关闭" onclick="closeDiv()" style="cursor: pointer;" src="images/msgClose.gif"/></td>
</tr><tr><td height="90" style="padding-right: 1px; background-image: url(images/msgBottomBg.jpg); padding-bottom: 1px;" colspan="3">
<div style="border-style: solid; border-color: rgb(114, 142, 184) rgb(185, 201, 239) rgb(185, 201, 239) rgb(114, 142, 184); border-width: 1px; padding: 18px 13px 13px; font-size: 9pt; width: 100%; color: rgb(31, 51, 107); height: 100%;"><a style="font-weight: bold; color: red;" target="_blank" href="http://www.makewing.com/lanren/png.rar">>>精选PNG图标下载</a><br/><br/><a style="font-weight: bold; color: blue;" target="_blank" href="http://www.makewing.com/lanren">>>欢迎访问懒人图库</a></div></td></tr></tbody></table></div>
<table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#cfdef4" style="border-top: 1px solid rgb(255, 255, 255); border-left: 1px solid rgb(255, 255, 255);">
<tbody><tr><td width="26" valign="middle" height="24" style="font-size: 12px; background-image: url(images/msgTopBg.gif); color: rgb(15, 44, 140);"><img vspace="1" hspace="5" align="absmiddle" src="images/msgLogo.gif"/></td>
<td width="100%" valign="middle" style="font-weight: normal; font-size: 9pt; background-image: url(images/msgTopBg.gif); color: rgb(31, 51, 107); padding-top: 4px;">懒人图库整理</td>
<td width="19" valign="middle" align="right" style="background-image: url(images/msgTopBg.gif); padding-top: 2px;"><img hspace="3" title="关闭" onclick="closeDiv()" style="cursor: pointer;" src="images/msgClose.gif"/></td>
</tr><tr><td height="90" style="padding-right: 1px; background-image: url(images/msgBottomBg.jpg); padding-bottom: 1px;" colspan="3">
<div style="border-style: solid; border-color: rgb(114, 142, 184) rgb(185, 201, 239) rgb(185, 201, 239) rgb(114, 142, 184); border-width: 1px; padding: 18px 13px 13px; font-size: 9pt; width: 100%; color: rgb(31, 51, 107); height: 100%;"><a style="font-weight: bold; color: red;" target="_blank" href="http://www.makewing.com/lanren/png.rar">>>精选PNG图标下载</a><br/><br/><a style="font-weight: bold; color: blue;" target="_blank" href="http://www.makewing.com/lanren">>>欢迎访问懒人图库</a></div></td></tr></tbody></table></div>
回复: 我想要这个代码,要怎样拿??
我也不知道我用的是什么浏览器,你去这里看看 http://www.jbtalks.cc/viewthread.php?tid=279439&page=1#pid1144829024
回复: 我想要这个代码,要怎样拿??
假如我没有记错的话,花生省魔术是用IE7.0的browser
由tcw987654321于周四 五月 22, 2008 2:46 pm进行了最后一次编辑,总共编辑了1次
您在这个论坛的权限:
您不能在这个论坛回复主题