日期:2014-05-17  浏览次数:20673 次

如何实现这种分页
大家看一下下面的网址:
http://www.shbendu.com/products.asp?page=2

我想实现像上面网址这样的分页功能,也就是具有图片的分页功能,当点击某一幅图片时就跳到关于此图片详细信息的页面。
哪位高手指点一下。
能用HTML实现吗?或者加XML实现的。

------解决方案--------------------
这个分页怎么了???很平常的啊~
------解决方案--------------------
这个都是用程序实现的吧.....
asp
------解决方案--------------------
HTML、XML实现不了。要用服务器端脚本实现
------解决方案--------------------
通常还要有数据库
------解决方案--------------------
如果产品不多的话,静态也能实现,工作量大点而已
------解决方案--------------------
广告不是这样做的!

bs
------解决方案--------------------
<meta http-equiv= "Content-Type " content= "text/html; charset=gb2312 ">
<%sub pages(pagename,listnum,page)%>
<div style= "floa:right ">
<form name= "formG " method= "post " action= " <%=pagename%> " style= "margin:2px auto; padding:2px auto; float:right ">
<%=Rs.recordcount%> 条信息&nbsp;&nbsp; <%=listnum%> 条信息/页&nbsp;&nbsp;共 <%=Rs.pagecount%> 页
当前第[ <%=page%> ]页
跳转
<select name= "page " onChange= "javascript:document.formG.submit(); ">
<%for i= 1 to Rs.pagecount%>
<option value= " <%=i%> "> <%=i%> 页 </option>
<%next%>
</select> 页
<% if page=1 then %>
<%else%>
<a href= <%=pagename%> > <strong> 首页 </strong> </a>
<a href= <%=pagename%> &page= <%=page-1%> > <strong> 上一页 </strong> </a>
<%end if%>

<% if Rs.pagecount-page <> 0 then %>
<a href= <%=pagename%> &page= <%=page+1%> > <strong> 下一页 </strong> </a>
<a href= <%=pagename%> &page= <%=Rs.pagecount%> > <strong> 尾页 </strong> </a>
<%end if%>
</form>
------解决方案--------------------
lysql= "select * from book where online=true order by 编号 desc "
set lyRs=server.createobject( "adodb.recordset ")
lyRs.open lysql,conn,1,1

if not(lyRs.bof and lyRs.eof) then
mypage=2
lyRs.pagesize=int(mypage)
p=lyRs.PageCount
v=int(lyRs.recordcount/mypage*-1)*-1
c=lyRs.recordcount
page=int(request.QueryString ( "page "))
if request.QueryString( "page ")= " " then page=1
lyRs.AbsolutePage=page
rowcount=lyRs.pagesize
end if
do while not lyRs.eof and rowcount
我再补点儿!