|

他所谓的原作者代码效果
首先一看就知道,这两个代码做出来的效果就不一样,我的代码有一个向下的按钮,它的代码没有
其次,代码原理也完全不同
它的代码是这样的
我的代码
两个代码红色部分完全不同
1.回顶部原理不同
它的代码回到顶部是用window.scrollTo制作的,我的代码是href="#top"制作的
2.功能不同
他的功能中没有回到底部的部分
3.css不同
它的代码,圆角部分是图片制作的,我的代码是css3制作的
它的代码没有css hawk,我的有.也就是说它的代码在部分浏览器会不兼容,我的不会
综上所述,这个叫哥哥的会员完全是在污蔑
希望你们俩不要再这样相互关注了,你们的代码我们全很喜欢,我们站长的论坛建设离不开你们<style type="text/css">
<!--
td {font-size:13px}
.rollboder {BORDER: #bcbcbc 1px solid;}
.rollleft {FLOAT: left; WIDTH: 240px}
.rollleft STRONG {COLOR: #666}
.rollcenter {BORDER-RIGHT: #bcbcbc 1px solid; BORDER-LEFT: #bcbcbc 1px solid; WIDTH: 30px; TEXT-ALIGN: center}
.rollright {FLOAT: right; WIDTH: 40px; TEXT-ALIGN: center}
.rollright IMG {VERTICAL-ALIGN: middle}
-->
</style>
<SCRIPT type=text/javascript>
<!--
var rollText_k=6; //菜单总数
var rollText_i=1; //菜单默认值
//setFocus1(0);
rollText_tt=setInterval("rollText(1)",8000);
function rollText(a){
clearInterval(rollText_tt);
rollText_tt=setInterval("rollText(1)",8000);
rollText_i+=a;
if (rollText_i>rollText_k){rollText_i=1;}
if (rollText_i==0){rollText_i=rollText_k;}
//alert(i)
for (var j=1; j<=rollText_k; j++){
document.getElementById("rollTextMenu"+j).style.display="none";
}
document.getElementById("rollTextMenu"+rollText_i).style.display="block";
document.getElementById("pageShow").innerHTML = rollText_i+"/"+rollText_k;
}
//-->
</SCRIPT>
<TABLE height="39" border="0" cellspacing="0" class=rollboder>
<TBODY>
<TR>
<TD height="32" class=rollleft>
<DIV class=rollTextMenus>
<DIV id=rollTextMenu1 style="DISPLAY: block"><STRONG> 竞价展示:</STRONG> <A
href="http://oocn.258club.com/viewthread.php?tid=329&extra=page%3D1" target="_blank">会员求助问题 点击入内
</A></DIV>
<DIV id=rollTextMenu2 style="DISPLAY: none"><STRONG> 竞价展示:</STRONG> <A
href="http://oocn.258club.com/forumdisplay.php?fid=2" target="_blank">SCLUB精品风格</A></DIV>
<DIV id=rollTextMenu3 style="DISPLAY: none"><STRONG> 竞价展示:</STRONG> <A
href="http://oocn.258club.com/forumdisplay.php?fid=4" target="_blank">精品代码</A></DIV>
<DIV id=rollTextMenu4 style="DISPLAY: none"><STRONG> 竞价展示:</STRONG> <A
href="http://oocn.258club.com/forumdisplay.php?fid=19" target="_blank">素材分享</A></DIV>
<DIV id=rollTextMenu5 style="DISPLAY: none"><STRONG> 竞价展示:</STRONG> <A
href="http://oocn.258club.com/forumdisplay.php?fid=19" target="_blank">图片分享 </A></DIV>
<DIV id=rollTextMenu6 style="DISPLAY: none"><STRONG> 竞价展示:</STRONG> <A
href="http://oocn.258club.com/forumdisplay.php?fid=20" target="_blank">OOCN求助</A></DIV></DIV></TD>
<TD class=rollcenter id=pageShow>3/6</TD>
</TR></TBODY></TABLE>[quote]
原来的代码
[quote]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>可翻阅上一条下一条的文字广告</title>
<style type="text/css">
<!--
td {font-size:9pt}
.rollboder {BORDER: #bcbcbc 1px solid;}
.rollleft {FLOAT: left; WIDTH: 238px}
.rollleft STRONG {COLOR: #666}
.rollcenter {BORDER-RIGHT: #bcbcbc 1px solid; BORDER-LEFT: #bcbcbc 1px solid; WIDTH: 30px; TEXT-ALIGN: center}
.rollright {FLOAT: right; WIDTH: 41px; TEXT-ALIGN: center}
.rollright IMG {VERTICAL-ALIGN: middle}
-->
</style>
</head>
<body>
<SCRIPT type=text/javascript>
var rollText_k=4;
var rollText_i=1;
rollText_tt=setInterval("rollText(1)",8000);
function rollText(a){
clearInterval(rollText_tt);
rollText_tt=setInterval("rollText(1)",8000);
rollText_i+=a;
if (rollText_i>rollText_k){rollText_i=1;}
if (rollText_i==0){rollText_i=rollText_k;}
for (var j=1; j<=rollText_k; j++){
document.getElementById("rollTextMenu"+j).style.display="none";
}
document.getElementById("rollTextMenu"+rollText_i).style.display="block";
document.getElementById("pageShow").innerHTML = rollText_i+"/"+rollText_k;
}
</SCRIPT>
<TABLE height="29" border="0" cellspacing="0" class=rollboder>
<TBODY>
<TR>
<TD height="22" class=rollleft>
<DIV class=rollTextMenus>
<DIV id=rollTextMenu1 style="DISPLAY: block"><STRONG> 敬告栏:</STRONG> <A
href="#" target="_blank">想找高持量源码么?</A></DIV>
<DIV id=rollTextMenu2 style="DISPLAY: none"><STRONG> 最新信息:</STRONG> <A
href="/" target="_blank">JavaScript特效大全</A></DIV>
<DIV id=rollTextMenu3 style="DISPLAY: none"><STRONG> 广而告之:</STRONG> <A
href="#" target="_blank">精品JavaScript代码</A></DIV>
<DIV id=rollTextMenu4 style="DISPLAY: none"><STRONG> 时政新闻:</STRONG> <A
href="#" target="_blank">庆祝建国60周年</A></DIV>
</DIV></TD>
<TD class=rollcenter id=pageShow>3/6</TD>
<TD class=rollright><A title=上一条 href="javascript:rollText(-1);"><IMG src="/jscss/demoimg/200907/last.gif"
alt=上一条 width="11" height="11" border="0"></A> <A title=下一条 href="javascript:rollText(1);"><IMG src="/jscss/demoimg/200907/next.gif"
alt=下一条 width="11" height="11" border="0"></A></TD>
</TR></TBODY></TABLE>
</body>
</html>


| 歡迎光臨 SCLUB免費論壇申請-使用者論壇 (http://weclub.info/discuz/) | Powered by Discuz! 7.2 |