Porque no me permite el frame usa popups? simplemente me marca error al tratar de crear un popup dentro el frame.
Les comparto mi codigo:
Frame:
Código:
content.html (Pagina que contiene el popUp<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head> <title>Frameset PopUp Example</title> </head> <frameset rows="100,*,80" frameborder="0" border="0" framespacing="0"> <frame name="topNav" src="top_nav.html"> <frameset cols="200,*" frameborder="0" border="0" framespacing="0"> <frame name="menu" src="menu_1.html" marginheight="0" marginwidth="0" scrolling="auto" noresize> <frame name="content" src="content.html" marginheight="0" marginwidth="0" scrolling="auto" noresize> </frameset> <frame name="footer" src="footer.html"> </frameset> </html>
Código:
Si intentan correr eso, ni siquiera abre la pagina content.html, si le quitan el tag <a href> con el javascript ya funciona .<html>
<head>
<title>HTML Frames Example - Content</title><script>
<style type="text/css">
body {
font-family:verdana,arial,sans-serif;
font-size:10pt;
margin:30px;
background-color:#ffcc00;
}
</style>
</head>
<body>
<h1>Content</h1>
<a href="#" onclick="javascript:window.open('http://www.live.com', '_blank','top=100, left=100, height=740, width=780, status=no, menubar=no, resizable=no, scrollbars=yes, toolbar=no, location=no, directories=no');">
Create PopUp</a>
</body>
</html>
No entiendo porque pasa eso :S ?
Muchas gracias por la ayuda,
saludos!


