Hi everyone,
I want a javascript for file navigation.
For e.g.- I have a folder named 'content' in which there are 'n' no. of html files named like content_000.html, content_001.html to content_nnn.html.
There should be buttons like next and previous, clicking on next button will traverse to next html file whereas previous button will show the previous html file. There should be disable functionality also i.e. if user is currently in the last html file then next button should be disabled similarly if the user is in the first page then previous link should be disabled.
I am instructed not to use ajax or plugins such as jquery. Just simple javascript.
Are there any examples available for the same..? Please help me.
Thanks