Next / Prev pages with Javascript?
<p>I'm creating a online training 'powerpoint' like series of pages. It will be pretty straight forward and have the pages set out as such:</p>

<p>page1.php
page2.php
page3.php
...
page20.php</p>

<p>I'll be going old school and use an iframe to hide the address bar as people shouldn't be able to catch onto the naming convention and skip ahead. (Its not too serious, so I want to keep it simple).</p>

<p>What I want to do is based on the current page that they are on, say for example page5.php create links to page4.php and page6.html.  Obviously without having to code each page manually. </p>

<p>It would be ideal if ths were a javascript function as I dont want the address to show up in the browsers info bar but I'm open to php tricks as well.</p>

<p>Any ideas how to do this?</p>
