JS½¹µãͼ´úÂ루asp¶¯Ì¬£©
<style type="text/css">
.container, .container *{margin:0; padding:0;}
.container{width:325px; height:287px; overflow:hidden;position:relative; margin-left:5px; margin-top:6px;}
.slider{position:absolute;}
.slider li{ list-style:none;display:inline;}
.slider img{ width:325px; height:287px; display:block;}
.slider2{width:2000px;}
.slider2 li{float:left;}
#idTransformView ul li a:hover{
position:relative;
left:0px;
top:0px;}
.num{ position:absolute; right:5px; bottom:5px;}
.num li{
float: left;
color: #D94B01;
text-align: center;
line-height: 16px;
width: 16px;
height: 16px;
font-family: Arial;
font-size: 12px;
cursor: pointer;
overflow: hidden;
margin: 3px 1px;
border: 1px solid #F37700;
background-color: #FFF3E2;
}
.num li.on{
color: #fff;
line-height: 18px;
width: 18px;
height: 18px;
font-size: 14px;
margin: 0 1px;
border: 0;
background:url(img/jiaodianbg.jpg) repeat-x;
font-weight: bold;
}
</style>
<div class="container" id="idTransformView" style="z-index:1;">
<ul class="slider" id="idSlider">
<%set rs=server.CreateObject("Adodb.recordset")
sql="select top 10 * from product where Elite=true and defaultPicurl <> 'img/nopic.jpg' order by ArticleID desc"
rs.open sql,conn,1,1
if rs.eof and rs.bof then
response.Write"ÔÝÎÞÐÂÎÅͼƬ"
else
fcznum=0
do while not rs.eof
fcznum=fcznum+1%>
<li><a href="Articleshow.asp?ArticleID=<%=rs("ArticleID")%>"><img src="<%=rs("DefaultPicUrl")%>" border="0"/></a></li>
<%rs.movenext
loop
end if
rs.close
set rs=nothing%>
</ul>
<ul class="num" id="idNum">
<%for fczi=1 to fcznum%>
<li><%
Ïà¹ØÎĵµ£º
aspÎļþËÑË÷
<%
'*************Set newsearch=new SearchFile 'ÉùÃ÷ *************
'*************newsearch.Folder="F:+E:"'´«ÈëËÑË÷Ô´*************
'*************newsearch.keyword="»ã±à" '¹Ø¼ü´Ê*************
'*************newsearch.Search &nbs ......
3¡¢´¿ASP´úÂëÉú³Éͼ±íº¯Êý——ÕÛÏßͼ
<%dim total(7,3)
total(1,0)="Öйú¾Óª±¨"
total(2,0)="ÕÐƸÍø"
total(3,0)="51Job"
total(4,0)="ÐÂÃñÍí±¨"
total(5,0)="ÐÂÎÅÍí±¨"
total(6,0)="ÄÏ·½ÖÜÄ©"
total(7,0)="Ñò³ÇÍí±¨"
total(0,1)="#FF0000,1.5,1,2,¹«Ë¾1"'²ÎÊý1ÏßÌõµÄÑÕÉ«£¬²ÎÊý2ÏßÌõµÄ¿í¶È£¬²ÎÊý3Ï ......
Ò»¡¢asp.netÖе¼³öExeclµÄ·½·¨£º
ÔÚasp.netÖе¼³öExeclÓÐÁ½ÖÖ·½·¨£¬Ò»ÖÖÊǽ«µ¼³öµÄÎļþ´æ·ÅÔÚ·þÎñÆ÷ij¸öÎļþ¼ÐÏÂÃ棬Ȼºó½«ÎļþµØÖ·Êä³öÔÚä¯ÀÀÆ÷ÉÏ£»Ò»ÖÖÊǽ«ÎļþÖ±½Ó½«ÎļþÊä³öÁ÷д¸øä¯ÀÀÆ÷¡£ÔÚResponseÊä³öʱ£¬t·Ö¸ôµÄÊý¾Ý£¬µ¼³öexeclʱ£¬µÈ¼ÛÓÚ·ÖÁУ¬nµÈ¼ÛÓÚ»»ÐС£
1¡¢½«Õû¸öhtmlÈ«²¿Êä³öexecl
´Ë·¨½«htmlÖÐËùÓеÄÄÚ ......
LBound() º¯Êý: ·µ»ØÖ¸¶¨µÄÊý×éά¿ÉÓõÄ×îСϱꡣ
UBound() º¯Êý: ·µ»ØÖ¸¶¨µÄÊý×éά¿ÉÓõÄ×î´óϱꡣ
InStr([start, ]string1, string2[, compare]) ·µ»Ø×Ö·û»ò×Ö·û´®ÔÚÁíÒ»¸ö×Ö·û´®ÖеÚÒ»´Î³öÏÖµÄλÖÃ
InStrRev()º¯Êý ·µ»Øij×Ö·û´®ÔÚÁíÒ»¸ö×Ö·û´®ÖÐ×îºó³öÏÖµÄλÖÃ
CDate() º¯Êý¿É°ÑÒ»¸öºÏ·¨µÄÈÕÆÚºÍʱ¼ä±í´ïʽת»»Îª ......