0👍
This is similar to what I think you are asking. This is a JavaScript solution that you can open multiple pages in one iframe. **I’m also on mobile so I can’t test this and I am doing it from memory but I hope this atleast gets you started.
Html:
<button onclick="nextPage(frameSource)">Submit</button>
<iframe class="myFrame" src="" id="myIframe" scrolling="no"></iframe>
JavaScript:
function nextPage(frameSource){
document.getElementById("mainIframe").src = frameSource;
}
function choosePages(){
var thePages = pageName + ".html";
nextPage(thePages);
}
- [Vuejs]-Bash: vue: command not found – when making vite app
- [Vuejs]-Is it possible to authenticate users through different subdomains?
Source:stackexchange.com