I like how StumbleUpon's navbar at the top of a shared page allows you to close the bar and let the page stand on its own. With the bar on, the url is stumbleupon plus the url of the iframe (the external page URL) in a query string. Below the bar is an iframe with the content of the external page being viewed/recommended (say, a cnn.com story). Toggle the bar off and the page "stands on its own"--no bar, no iframe, just the external page's URL (say, http://cnn.com/123.html
) in the browser's address bar. I'd like to do this on our website for recommended links. But I don't know how to get the iframe to fill/"stand on its own" when the bar is toggled off (closed) in jQuery.
Bonus: could you even get the share bar to toggle back on: re-appear, re-iframe the external page, re-populate the browser's address bar with the embedded url: ' myurl.com/?url=cnn.com ' My mind boggles.