View Full Version : I need little help to get "page number" in html page

Oct 16th, 2009, 02:17 PM
Hello guys

Actually I am looking to design a website base on a book. With same similarity, I want to create a web page that opens the first chapter and the page numbers on the bottom so a viewer can click any number page to read the article of the book.

Can I create this in html? or is there any short way to do it, like flash? or do I need some javascripts or ASP?

Please let me know whatever I can get it complete without doing much stressful work.

Thanks again all for your time in advance.

Oct 16th, 2009, 02:56 PM
it can be done in html, if you assigned each chapter/page to it's own html file but this would be tedious if you had lots and lots.

database (asp/php/etc) would also work fine

depends on exactly wha you want

the absolute easiest way is to create a page for each chapter/page and link them together like so:

Chapter 1

<a href="chapter-2.html">Click to read chapter 2</a>
<a href="chapter-3.html">Click to read chapter 3</a>

but this is inefficient and would get annoying with several thousand chapters etc/more than 1 book.

Oct 16th, 2009, 04:37 PM
Yea if it's a big book, then the solution is to use a PHP/ASP pagination script.