Hi
I try to use iframe to solve a scroll issue in flash.
is the main page.
is the page in the iframe.
Why is nothing in the iframe in Editor.html in the "editor" div loaded?
Hi
I try to use iframe to solve a scroll issue in flash.
is the main page.
is the page in the iframe.
Why is nothing in the iframe in Editor.html in the "editor" div loaded?
Quick summary: the iframe appeared empty because an attribute was misspelled. spotted the typo and confirmed the fix. Browsers silently ignore unknown attributes, so a small spelling error in an iframe tag can make the embedded page never load.
A short diagnosis checklist that helps for similar cases: open DevTools (Console and Network) to spot 404s or parser errors; validate the HTML with the W3C validator; confirm the src attribute points to an existing file and that relative paths are correct; check parent/container CSS (zero height, display:none or overflow rules can hide a loaded iframe); and if scripting between parent and frame is needed, verify same-origin restrictions. See MDN iframe element and Same-origin policy for details.
If the iframe was only used to work around Flash scrolling, consider migrating away from Flash (it causes compatibility and scrolling quirks) and prefer native HTML/CSS solutions where possible. For quick layout fixes, giving the wrapper a fixed height or using overflow:auto on a container often solves visible-scroll issues without embedding content.
Jump to Post— macgurl70 9Could be a minor typo in this line
<iframe scr="pureEditor.html" width="100%" height="500">where scr should be src
Could be a minor typo in this line
<iframe scr="pureEditor.html" width="100%" height="500"> where scr should be src
Yeah! That was the problem. Thanks :)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.