Forum Moderators: open
I was quite interested to find this topic:
[webmasterworld.com...]
which has a great way to write the filename of the web page. I'd like to ask for help to perform an expanded function.
I have 79 pages labeled sequentially as ep01, ep02, etc. to ep79
I'd like to dynamically write an href string that bases the target upon the page name +1.
So, for example, if I'm on page ep09.html, clicking the link will load ep10.html.
Then, since there's a maximum page number, if I'm on ep79.html I need to wrap back to ep01.html.
The link will of course be called "next." I cite the previous thread because toadhall came up with a great way to truncate the URL to get the page name.
Thanks for your review.