Navigation Buttons Within I-Frame

Hello,

I was wondering if there was any way to add navigation buttons to the html/i-frame window extension?

Ultimately, we use the i-frame to create a menu of selectable options that lead to specific pages/sites. It would be great if they could use a back button to return to that menu vs having to close out and reopen the extension. Image example attached.

Thank you!
Mike

I haven’t tested this, but I think you could add some id to your iframe (for example id=‘iframe-xyz’)and when your custom back button is clicked do something like:

document.getElementById('iframe-xyz`).src = 'https://address-to-your-main-menu-page`;

Does it address your problem?