-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A way to make frames nested window view work with more content #152
Comments
Neat idea, @garyoliver! I don't believe we've discussed it in quite that way, but I'd be interested in seeing how that would work. Of course, the server would have to be configured for HTTPS, and we'd have to be able to read the location of the iframe. Have you experimented with this at all? |
I haven't experimented with it and I may not have time but a quick check tells me that if you have an onload= event on an iframe it then can run a script every time the iframe loads a new location. And a javascript can also read the current URL of an iframe document.getElementById("my_iframe").contentWindow.location.href With that information the parent frames document should be able to reload itself without losing it's place. I'm not sure how you keep a quiz & questions data going? You might keep them as parameters attached to the end of the URL without refreshing the window in html5 browsers with the pushState or replaceState method as noted below. That way when the frames document reads the URL of the guide side it already has the information that can be read by the page as it reloads. window.history.pushState("object or string", "Title", "new url"); http://stackoverflow.com/questions/32828160/appending-parameter-to-url-without-refresh Gary Oliver - [email protected] 845-257-3704 From: Michael Hagedon [email protected] Neat idea, @garyoliverhttps://github.com/garyoliver! I don't believe we've discussed it in quite that way, but I'd be interested in seeing how that would work. Of course, the server would have to be configured for HTTPS, and we'd have to be able to read the location of the iframe. Have you experimented with this at all? You are receiving this because you were mentioned. |
Cool! If someone fleshed this out more, I’d definitely be interested in reviewing it! |
Make guide on the side always load itself with the same SSL state as the page it loads in the frame. If the page loaded in the frame changes reload itself with the same SSL on/off state.
Is that something being discussed already I haven't seen it discussed.
I suppose you might include a new PHP that would test for POST variables. And have GOS send it's place and other collected test data and what page is in the frame as a post when SSL state changes.
The text was updated successfully, but these errors were encountered: