I am using a html frameset in my project. When i try to open a html file inside a frame using window.open("htmlfile","frameName"),its not opening the file inside the frame. I am facing this issue in google chrome only. Can anyone please suggest me how to open a html file inside a frame in google chrome.
e.g. local document with iframe file:///F:/test/test.html
to test an document with iframe (IFRAME-tag) use a http server (not local).
may be chrome has an option to turn off this rule.
window.open("htmlfile","frameName") is not an iframe or frame
but what is the path of "htmlfile" ?
iframe is a single document with own rights (a frame with rights like a pure html document).
To overlay an document with other document use IFRAME, e.g. transparent background if IFRAME.
example for an IFRAME document
test(); // init of iframe AFTER decode above
This kind of using an iframe is like using of an "app". It is possilbe to create metro look
like win 8 in use of some iframes. Or iframes can us same place on parent document
(one iframe runs at a every moment).
IFRAME needs some ressources of browser ! Opera is fast. Chrome too. Mozilla is slow.
Only Opera can manage IFRAMEs fast.
On my webside www.twseiten.com you see iframe: See running mouse on top, put a mouseover this mouse
and IFRAME addons bar is visible (on off).
On this webside you find informations for apache http server in windows.
<iframe name="InlineFrame1" id="iframe" style="position:absolute;left:79px;top:118px;width:602px;height:337px;z-index ;" src="" frameborder="0">Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>
<div id="wb_Text1" style="position:absolute;left:101px;top:70px;width:250px;height:16px;z-index:1;">