Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I am not sure about disabling iframes in your case. You could implement something using javascript - for example buttons that trigger an event on a specific target iframe using something like:</p> <pre><code>&lt;a target="the_active_iframe" href="nav();"&gt;Link to a location&lt;/a&gt; &lt;iframe name="the_active_iframe"&gt;&lt;/iframe&gt; </code></pre> <p>and in javascript function</p> <pre><code>nav() { window.navigate("new location",target="the_active_iframe"); } </code></pre> <p>you could implement back and forward navigation in a similar way:</p> <p><strong><a href="https://stackoverflow.com/questions/3254985/back-and-forward-buttons-in-an-iframe">Back and forward buttons in an iframe</a></strong></p> <p>Another idea that could work would be to use some hover or onmouseover functionality, to define which frame is active and use window navigation events to that specific frame, but I would use buttons .... it seems less confusing to me.</p> <p><strong>Edit:</strong> if you want to do it like you say ... you would need to save the history for each iframe separately into a variable in javascript ... and on mouse-over (or something like that) rewrite the <code>window.history</code> with the current-iframe history ... I have never tried to do something like this ... but it might work.</p> <blockquote> <p>Here you can find how you would save the history of a specific iframe: <a href="https://stackoverflow.com/questions/10745564/track-only-iframe-history">Track only iframe history</a></p> <p>Then what you need to do is only overwrite the window.history ... on mouse-over for an iframe to the respective iframe navigation history.</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload