<HEAD><TITLE>HTML gyakorls</TITLE> <SCRIPT language="JavaScript"> function updatewin() { html.document.open("text/html"); html.document.write(document.lap.forras.value); html.document.close() } function ujablak() { html = window.open("","","resizable=1,scrollbars=1,screenX=50,screenY=50,menubar"); } function biztos() {return confirm("Biztos, hogy trljem a munkdat?")}
function closeIt() { close(); }
</SCRIPT> </HEAD> <BODY background="../images/bg1.gif"> <table background="../images/bg2.gif" border="0"> <tr> <td width="100%"> <b><font color="#FFFFFF" face="Arial" size="2">Az albbi ablakba tetszoleges HTML kdot beirhatsz, majd a hatst a msik ablakban leellenorzheted.</font></b> </td> </tr> </table> <FORM name=lap onreset="return biztos()"> <TEXTAREA rows=20 cols=60 name=forras></TEXTAREA><BR> <INPUT type=button value="Megnzem" onClick="ujablak(),updatewin()"> <INPUT type=reset value="Eredeti visszalltsa"> <input type=button value="Bezrs" onClick="closeIt()">
</FORM></BODY> |