zookimaster
04-15-2008, 04:15 PM
Hi, I'm a forums virgin. I design and build websites, but have a problem that I can't find a solution to.
I've been asked to create a site containing dossiers and they want a read out on the page that tells you what page you're on and out of how many pages. Plus they want to add pages themselves without having to mess with the scripting.
I was thinking if I called pages 1.html, 2.html, 3.html etc.. then it would be possible to do a next/previous script without having to change the function of individual links? Plus include a script that counts the number of pages and displays it on screen?
For example if you were viewing page (dossier) 10 out of 30 it would read <dossier> 10/30. And if they created a new page, page 10 would automatically read <dossier> 10/31. Also the '<' and the '>' are ideally going to be buttons which take you to next and previous pages (dossiers).
Is this possible and how would I go about it. :confused:
Please help!
Thanks in advance
I've been asked to create a site containing dossiers and they want a read out on the page that tells you what page you're on and out of how many pages. Plus they want to add pages themselves without having to mess with the scripting.
I was thinking if I called pages 1.html, 2.html, 3.html etc.. then it would be possible to do a next/previous script without having to change the function of individual links? Plus include a script that counts the number of pages and displays it on screen?
For example if you were viewing page (dossier) 10 out of 30 it would read <dossier> 10/30. And if they created a new page, page 10 would automatically read <dossier> 10/31. Also the '<' and the '>' are ideally going to be buttons which take you to next and previous pages (dossiers).
Is this possible and how would I go about it. :confused:
Please help!
Thanks in advance