<html> <head> <title> </title> <style type="text/css"> .holder{ width: 100%; height:100%; position:relative; } .frame{ width: 100%; height:100%; } .bar{ position:absolute; top:150; left:150; width:50px; height:40px; } </style> <script type="text/javascript"> function addItem(xItem) { /* var ul = document.getElementById("content-area"); var li = document.createElement("div"); li.innerHTML = xItem; li.id = xItem; ul.appendChild(li); alert("fim"); */ var ifrm = document.getElementById('te'); ifrm = (ifrm.contentWindow) ? ifrm.contentWindow : (ifrm.contentDocument.document) ? ifrm.contentDocument.document : ifrm.contentDocument; ifrm.document.open(); ifrm.document.write('Hello World!'); ifrm.document.close(); } </script> <frameset id="fs" rows="100*" cols="*" frameborder="NO" border="0" framespacing="0" onload="teste();"> <frame src="http://www.pplware.pt/" onload="addItem('teste');" id="te" > <!--<frame style="position: relative;" src="http://www.sapo.pt/" name="frmMain" id="frmMain" frameborder="0" scrolling="Auto" noresize="noresize" marginwidth="0" marginheight="0"> --> <noframes><body><p>This page uses frames, but your stone-aged browser doesn't support them.</p></body></noframes> <input type="text" /> </frameset> </head> <body> <script type="text/javascript"> function checkFrameExistInPortalMain() { try { if (top.frames.length > 1) { window.parent.location.href = 'PortalMain.jsp'; } } catch (err) { } } checkFrameExistInPortalMain(); </script> </body> </html>
src="http://www.pplware.pt/"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)