网上购物系统:一个经过完善设计的经典网上购物系统
源代码在线查看: info_tuijian.asp
.style4 {color: #FF5C99}
-->
src="img/xiao/new_line_004.gif" width=4>
src="img/xiao/new_line_005.gif" width=4>
style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 3px; PADDING-TOP: 0px"
align=middle>
rs.open "select top 10 * from shop_product where bestproduct=1 order by productid desc",conn,1,1%>
%>
名称:
会员价:
rs.movenext
loop
rs.close
%>
marqueesHeight=180;
stopscroll=false;
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=125; stoptime=0;
icefable1.innerHTML+=icefable1.innerHTML;
function init_srolltext(){
icefable1.scrollTop=0;
setInterval("scrollUp()",10);
}
init_srolltext();
function scrollUp(){
if(stopscroll==true) return;
currentTop+=1;
if(currentTop==127)
{
stoptime+=1;
currentTop-=1;
if(stoptime==280)
{
currentTop=0;
stoptime=0;
}
}
else {
preTop=icefable1.scrollTop;
icefable1.scrollTop+=1;
if(preTop==icefable1.scrollTop){
icefable1.scrollTop=125;
icefable1.scrollTop+=1;
}
}
}
src="img/xiao/new_line_006.gif" width=4>
src="img/xiao/new_line_007.gif" width=4>