日韩天天综合网_野战两个奶头被亲到高潮_亚洲日韩欧美精品综合_av女人天堂污污污_视频一区**字幕无弹窗_国产亚洲欧美小视频_国内性爱精品在线免费视频_国产一级电影在线播放_日韩欧美内地福利_亚洲一二三不卡片区

發(fā)些滾動的代碼_風(fēng)訊Cms教程

編輯Tag賺U幣
教程Tag:暫無Tag,歡迎添加,賺取U幣!
1、逐條顯示的滾動(間歇性滾動)

<table width="250" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="78"><DIV id=icefable1>
<TABLE cellSpacing=0 cellPadding=0 width=246 border=0 cellspcing="0">
<TBODY>
<TR>
<TD align="center">{FS400_推薦滾動}<TD></TR></TBODY></TABLE>
</DIV>
<SCRIPT>
marqueesHeight=60;
stopscroll=false;
with(icefable1){
style.width=246;
style.height=marqueesHeight;
style.overflowX='visible';
style.overflowY='hidden';
noWrap=true;
onmouseover=new Function('stopscroll=true');
onmouseout=new Function('stopscroll=false');
}
preTop=0; currentTop=30; stoptime=0;
icefable1.innerHTML =icefable1.innerHTML;
function init_srolltext(){
icefable1.scrollTop=0;
setInterval('scrollUp()',20);//滾動速度
}init_srolltext();

function scrollUp(){
if(stopscroll==true) return;
currentTop =1;
if(currentTop==60) //滾動距離
{
stoptime =1;
currentTop-=1;
if(stoptime==60) //滾動間距
{
currentTop=0;
stoptime=0;
}
}
else {
preTop=icefable1.scrollTop;
icefable1.scrollTop =1;
if(preTop==icefable1.scrollTop){
icefable1.scrollTop=120;
icefable1.scrollTop =1;
}
}

}
</SCRIPT></td>
</tr>
</table>

2、間歇性滾動js代碼間歇性滾動js代碼

<DIV id=icefable1>
<p>放被循環(huán)內(nèi)容</p>
<p>9999999999</p>
<p>0000000000 </p>
</DIV>

<DIV id=icefable2 style="Z-INDEX: 1; VISIBILITY: hidden; POSITION: absolute"></DIV>

<SCRIPT>
marqueesHeight=90;
stopscroll=false;
icefable1.scrollTop=0;

with(icefable1){
style.width=0;
style.height=marqueesHeight;
style.overflowX="visible";
style.overflowY="hidden";
noWrap=true;
onmouseover=new Function("stopscroll=true");
onmouseout=new Function("stopscroll=false");
}

preTop=0; currentTop=0; stoptime=0;

function init_srolltext(){
icefable2.innerHTML="";
icefable2.innerHTML =icefable1.innerHTML;

查看更多 風(fēng)訊cms教程  風(fēng)訊cms模板

共2頁上一頁12下一頁
來源:模板無憂//所屬分類:風(fēng)訊Cms教程/更新時(shí)間:2006-11-11
相關(guān)風(fēng)訊Cms教程