I need to pre-load a series of hype documents which will shown sequentially as the inner html of one specific div element (mainDiv). I need them to be available immediately at each step without any loading delay. I’m wondering if this would be the best way to do this:
Load each hype documents into an iframe of its own hidden div on the page: divElem.style.display = ‘none’
Then when it’s time to load a specific hype document, set the innerHTML of mainDIv to an iFrame containing that hypeDocument.
And just repeat that for each step, and clearing out the pre-load div after it is loaded.
Any flaws in this reasoning or a better approaches.