PHP For Displaying 500 pages
Posted: Sun Jan 02, 2011 10:27 pm
I want to put a Manual up on my site. More than 500 pages. The pages exist in .jpg form.
The user will want to reference individual pages in the Manual. Hence I need them to easily be able to select any one of the 500 pages and once they are there to be able to go forward and backwards with equal ease.
There's only 22 chapters to the Manual. But each chapter has sections - a different number of them for each chapter.
We finish up with maybe 50 sections. And then, as I say, about 500 pages.
I'm thinking a menu choice for the 22 chapter in the beginning, right there on the screen with the short name for each chapter which is quite sufficient for the reader to know where he's going.
After clicking chapter a dropdown list of sections for that chapter, each with a similarly very short but sufficiently descriptive name/title.
Click the choice of section and get pages - generally without any description but using a code method that allows me to add descriptions of page contents later (how long will it take me to describe 500 pages? forever.... )
Now here's the point - I don't write 500 page names. I don't write 500 commands to display pages (.jpg's).
I list the chapters in a text file - even write the front menu.
I list the sections in a text file which the code reads.
I list how many pages for each section and the code reads this.
The code that puts up the dropdowns reads this file and knows what dropdown list to make
The dropdown selection then goes into the page (jpg) calling code line and it is done.
Nearly. the last bit is how to give the 'next page' and 'last page' options to the displayed .jpg?
All of that is my vague idea of how it might be done.
Anyone got any good ideas?
The user will want to reference individual pages in the Manual. Hence I need them to easily be able to select any one of the 500 pages and once they are there to be able to go forward and backwards with equal ease.
There's only 22 chapters to the Manual. But each chapter has sections - a different number of them for each chapter.
We finish up with maybe 50 sections. And then, as I say, about 500 pages.
I'm thinking a menu choice for the 22 chapter in the beginning, right there on the screen with the short name for each chapter which is quite sufficient for the reader to know where he's going.
After clicking chapter a dropdown list of sections for that chapter, each with a similarly very short but sufficiently descriptive name/title.
Click the choice of section and get pages - generally without any description but using a code method that allows me to add descriptions of page contents later (how long will it take me to describe 500 pages? forever.... )
Now here's the point - I don't write 500 page names. I don't write 500 commands to display pages (.jpg's).
I list the chapters in a text file - even write the front menu.
I list the sections in a text file which the code reads.
I list how many pages for each section and the code reads this.
The code that puts up the dropdowns reads this file and knows what dropdown list to make
The dropdown selection then goes into the page (jpg) calling code line and it is done.
Nearly. the last bit is how to give the 'next page' and 'last page' options to the displayed .jpg?
All of that is my vague idea of how it might be done.
Anyone got any good ideas?