I am currently developing a web page using only HTML5 and minimal Javascript.
My goal is to have a menu displayed near the page text, allowing users to click on links that will show the contents of other HTML pages. Something like this:
https://i.sstatic.net/ravwC.png
After researching frames and iframes, I've decided to opt for using Objects instead.
Here's what I have in mind:
<center>
<right>
<li>link 1</li>
<li>link 2</li>
<li>link 3</li>
</right>
<left>
<object data="text.html" type="text/html"></object>
</left>
</center>
Can anyone provide guidance on how to effectively display and change the contents from another HTML file within the same page by clicking on a menu link?