在html页面中提供Previous和Next功能 [英] provide Previous and Next functionality in html pages

查看:298
本文介绍了在html页面中提供Previous和Next功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我想在html页面中提供上一页和下一页功能。

当我点击下一步按钮时应该带我到与该主题相关的下一页。

示例:

var pages = [1.html,2.html,3.html ];



所以,如果我在索引(主页)并点击下一步,它应该带我到1.html,如果下一个被点击,那么2 .html...

类似于上一页按钮。



这将适用于我的每个html页面。

因为每个页面都有不同的主题。



问候,

Archie

解决方案

尝试

http://www.dotnetfunda.com/forums/thread394-how-to-show-next-previous-records-using-aspnet-csharpnet.aspx [ ^ ]

http://www.aspsnippets.com/Articles/Custom-Paging-in-ASP.Net-GridView-using-SQL-Server-Stored-Procedure.aspx [ ^

Hi,

I want to provide Previous and Next functionality in html pages.
When i click on "Next" button it should take me to next page related to that topic.
Example:
var pages=["1.html","2.html","3.html"];

so if I at the index(main page) and click on next it should take me to "1.html" and if next is clicked then "2.html"...
Similarly for "Previous" button.

This will be applicable to each html page I have.
As each page has different topics.

Regards,
Archie

解决方案

Try
http://www.dotnetfunda.com/forums/thread394-how-to-show-next-previous-records-using-aspnet-csharpnet.aspx[^]
http://www.aspsnippets.com/Articles/Custom-Paging-in-ASP.Net-GridView-using-SQL-Server-Stored-Procedure.aspx[^]


这篇关于在html页面中提供Previous和Next功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆