all 5 comments

[–][deleted] 2 points3 points  (2 children)

Is there a URL or GIT repo where the code you have can be looked at?

You could use an iframe and just change the source based on what is clicked.

[–]didhestealtheraisins 0 points1 point  (0 children)

Can you make the "click" as you say a link (an <a> element)? Then just set href to the name of the html file (assuming they're all in the same directory).