Sei sulla pagina 1di 2

ARCHIVO index.html <HTML> <HEAD> <TITLE>Principal Inicio</TITLE> <SCRIPT LANGUAGE="JavaScript"> function popUp(URL) { day = new Date(); id = day.

getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=650,height=220,le ft = 437,top = 344');"); } </script > </HEAD> <BODY onLoad="javascript:popUp('aviso.html')"> <Frameset rows=17%,*> <frame src="encabezado.html" NORESIZE > <frameset cols=23%,77%> <frame src="izquierdo.html" NORESIZE> <frame src="derecho.html" name="principal" NORESIZE> </frameset> </frameset> </body> </HTML> ARCHIVO: aviso.html <HTML> <HEAD> <TITLE>Aviso Certificacin</TITLE> </HEAD> <BODY bgcolor="#FF8C00"> <CENTER> <h1>AVISO </h1></CENTER> <h3> <Marquee>Si deseas certificar la materia es indispensable que realizes el proyecto de t Pgina Web </Marquee> <img src="codigo_de_barras.gif"> </h3> </BODY> </HTML>

<!-- TWO STEPS TO INSTALL POPUP WINDOW: 1. Paste the first into the HEAD of your HTML document 2. Use the code to open the popup page on your site --> <!-- STEP ONE: Copy this code into the HEAD of your HTML document --> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Idea by: Nic Wolfe --> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Begin function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=150,height=80,left = 437,top = 344');"); } // End --> </script> <!-- STEP TWO: Paste this onLoad event handler into the BODY tag --> <BODY onLoad="javascript:popUp('aviso.html')"> <!-- Script Size: 0.73 KB -->

http://javascript.internet.com/generators/popup-window.html

Potrebbero piacerti anche