Kopiera nedanstående script och klistra in det mellan <head> och </head> i din html-fil

<script language="javascript">
<!---
//Author Jan Fagerberg http://hem.fyristorg.com/janne.gitarr mail: janne.gitarr@spray.se - If you want more pages - simply add more functions and event handlers

function pageone()
{
window.document.write("<html><body bgcolor=white><center><h1><font color=red>"+"Page 1"+"</font></h1></center></body></html>");
window.document.write('<input type="button" value="Back" onClick="window.history.go(-1);">')
window.document.close;
}
function pagetwo()
{
window.document.write("<html><body bgcolor=white><center><h1><font color=red>"+"Page 2"+"</font></h1></center></body></html>");
window.document.write('<input type="button" value="Back" onClick="window.history.go(-1);">')
window.document.close;
}
function pagethree()
{
window.document.write("<html><body bgcolor=white><center><h1><font color=red>"+"Page 3"+"</font></h1></center></body></html>");
window.document.write('<input type="button" value="Back" onClick="window.history.go(-1);">')
window.document.close;
}
//--->
</script>

Kopiera nedastående script och klistra in det mellan <body> och </body>

<center><h1>Multipage</h1></center>
<input type="button" value="Page 1" onClick="pageone();">
<br><input type="button" value="Page 2" onClick="pagetwo();">
<br><input type="button" value="Page 3" onClick="pagethree();">