Re:HTTP/3 explained
by zamadatix on Tuesday February 05, 2019 @10:56AM
(#19086464)
There is a way to make an iframe in the body of the page change by clicking the navigation bar in the main page without reloading the main page/navigation bar?
[ Parent
| on HN ]
Re:HTTP/3 explained
by thefreeman on Tuesday February 05, 2019 @11:01AM
(#19086517)
yea you put a target on the anchor tag with the name of the iframe
exactly, same as with a frame... I haven't done much with resizable iframes in a while, but I do remember that at least in the v5-v6 browser era that iframes wouldn't resize properly to match their containers without JS to handle the event, I'm unsure if this is still true, as I haven't really done anything with iframes in nearly a decade now.
aside: used to use/implement something like ajax callbacks with hidden frames and dynamic form posts.
Man, I love JS/Browsers today over pre-2016.