Does only the shown layer load, or does the hidden layers also load if I have iframes linking to different sites on several layers?
Say if i have one layer (layer A) with an iframe linking to www.sitea.com and another layer (layer B) with an iframe linking to www.siteb.com. When you click onto my site layer A is shown and layer B is hidden. Does only sitea load, or does siteb load as well?
I cant figure it out. I would like only the shown layer to load, so my page loads quicker.
// changes the URL of a certain IFRAME object // Note that the IFRAME MUST have a page loaded before using this function changeIframeURL(id,url) { var oiframe=document.getElementById(id); if (oiframe) oiframe.contentWindow.document.location=url; }
//--> </script>
then draw an IFRAME into your page giving it a name (<IFRAME id=myIFRAME)
then you can create a text or buttons and using events you can change the IFRAME URL: - use the OnClick event, - JavaCall action - write changeIframeURL('myIFRAME','http://www.hexagora.com');
Instead I made all pages in D.H.E., and linked to these pages through iframes on the index-page. But is there a way to make only the shown iframe load?