I am trying to load a webpage in a div ... but it does not load into div ... It's loading as a complete webpage .... Why ??
& lt; Li & gt; & Lt; A href = "#" onClick = "aboutUs ();" & Gt; About & amp; Nbsp; We & lt; / A & gt; & Lt; / Li & gt; & Lt; Div class = "bdy" & gt; & Lt; / Div & gt; Javascript code:
About the function US () {// body ... // $ ('' bdy '') load (' Http: //www.jhsoftech.com '); $ ('.bdy'). Html ('& object; object style = "width: 100%; height: 435px;" data = "http://www.erail.in"> gt;'); }
I opened your site in the iframe sandbox. Html ('& lt; iframe sandbox = "permission-script" style = "width: 100%; height: 435px;" Src = "http://www.erail.in"> gt; & lt; iframe & gt; ; ';); })
Problems with your site, setting another location / redirecting page is the part of the code on your site:
Top! = Self) top.location.href = "http://erail.in"; Remove it and you are able to apply it without the sandbox that prevents it from permission-top-navigation .
No comments:
Post a Comment