»
EnglishFrenchVietnamese

Print - Advanced HTML Hot Pro - JavaScriptBank.com

Full version: jsB@nk » Utility » Generator » Advanced HTML Hot Pro
URL: http://www.javascriptbank.com/advanced-html-hot-pro.html

Advanced HTML Hot Pro © JavaScriptBank.comA 'true' html editor powered by JavaScript and DHTML. You have to see it to believe it.

Full version: jsB@nk » Utility » Generator » Advanced HTML Hot Pro
URL: http://www.javascriptbank.com/advanced-html-hot-pro.html



JavaScript
<SCRIPT language=JavaScript><!--function SymError(){  return true;}window.onerror = SymError;//--></SCRIPT><SCRIPT language=JavaScript><!-- function NOTEXT(){document.Add.write.value += ("")}// --></SCRIPT><SCRIPT language=JavaScript><!-- /*  Advanced HTML Hot Pro was written by Patrick  Clinger.  If you wish to use it, please pay a  $5 as a registration fee to:  Patrick Clinger  21532 Calle Otono  Lake Forest, CA  92630*/function START(){  var Start = window.prompt("What is the title for your page?","")    if(Start ==''){NOTEXT()}    else{document.Add.write.value += ("<HTML><HEAD><TITLE>" + Start + "</TITLE></head>\n")}}function ABOUT(){alert("Advanced HTML Hot Pro was written by Patrick Clinger and is © Patrick Clinger 1997.  If you wish to use it please send a $5 registration fee to:\n\nPatrick Clinger\n21532 Calle Otono\nLake Forest, CA\n92630\nUSA")}function PREVIEW(Add){preview=open("","DisplayWindow","toolbar=no,directories=no,menubar=no,location=no,directories=no");preview.document.write(Add.write.value);}function END(){document.Add.write.value += ("</BODY></HTML>\n")}function BODY(){var BGCOLOR = window.prompt("What do you want the background color to be?","FFFFFF")var TEXT = window.prompt("What do you want the text color to be?","000000")    if(BGCOLOR ==''){NOTEXT()}    if(TEXT ==''){NOTEXT()}    else{document.Add.write.value += ("<body BGCOLOR=" + BGCOLOR + " TEXT=" + TEXT + ">")}}function CENTER(){document.Add.write.value += ("<CENTER>\n")}function UNCENTER(){document.Add.write.value += ("</CENTER>\n")}function P(){  var P = window.prompt("Type in your text for the paragraph:","")    if(P ==''){NOTEXT()}    else{document.Add.write.value += ("<P>" + P + "</P>\n")}} function LEFTP(){  var LEFTP = window.prompt("Type in your text for the paragraph aligned to the left:","")    if(LEFTP ==''){NOTEXT()}    else{document.Add.write.value += ("<P align=left>" + LEFTP + "</P>\n")}} function CENTERP(){  var CENTERP = window.prompt("Type in your text for the paragraph:","")    if(CENTERP ==''){NOTEXT()}    else{document.Add.write.value += ("<P align=center>" + CENTERP + "</P>\n")}} function RIGHTP(){  var RIGHTP = window.prompt("Type in your text for the Paragraph:","")    if(RIGHTP ==''){NOTEXT()}    else{document.Add.write.value += ("<P align=right>" + RIGHTP + "</P>\n")}} function BR(){document.Add.write.value += ("<BR>\n")}function HR(){document.Add.write.value += ("<HR>\n")}function B(){  var B = window.prompt("Type in your Bold here:","")    if(B ==''){NOTEXT()}    else{document.Add.write.value += ("<B>" + B + "</B>\n")}}function I(){  var I = window.prompt("Type in your Italics here:","")    if(I ==''){NOTEXT()}    else{document.Add.write.value += ("<I>" + I + "</I>\n")}}function U(){  var U = window.prompt("Type in your Underlined here:","")    if(U ==''){NOTEXT()}    else{document.Add.write.value += ("<U>" + U + "</U>\n")}}function PRE(){  var PRE = window.prompt("Type in your Preformatted text here:","")    if(PRE ==''){NOTEXT()}    else{document.Add.write.value += ("<PRE>" + PRE + "</PRE> </textarea>\n")}}function H1(){  var H1 = window.prompt("Heading 1:","")    if(H1 ==''){NOTEXT()}    else{document.Add.write.value += ("<H1>" + H1 + "</H1>\n")}}function H2(){  var H2 = window.prompt("Heading 2:","")    if(H2 ==''){NOTEXT()}    else{document.Add.write.value += ("<H2>" + H2 + "</H2>\n")}}function H3(){  var H3 = window.prompt("Heading 3:","")    if(H3 ==''){NOTEXT()}    else{document.Add.write.value += ("<H3>" + H3 + "</H3>\n")}}function H4(){  var H4 = window.prompt("Heading 4:","")    if(H4 ==''){NOTEXT()}    else{document.Add.write.value += ("<H4>" + H4 + "</H4>\n")}}function H5(){  var H5 = window.prompt("Heading 5:","")    if(H5 ==''){NOTEXT()}    else{document.Add.write.value += ("<H5>" + H5 + "</H5>\n")}}function H6(){  var H6 = window.prompt("Heading 6:","")    if(H6 ==''){NOTEXT()}    else{document.Add.write.value += ("<H6>" + H6 + "</H6>\n")}}function IMGLEFT(){  var IMGLEFT = window.prompt("The name for the image to be aligned left:","")    if(IMGLEFT ==''){NOTEXT()}    else{document.Add.write.value += ("<img src=" + IMGLEFT + " align=left>\n")}}function IMG(){  var IMG = window.prompt("The name for the image:","")    if(IMG ==''){NOTEXT()}    else{document.Add.write.value += ("<img src=" + IMG + ">\n")}}function IMGRIGHT(){  var IMGRIGHT = window.prompt("The name for the image to be aligned right:","")    if(IMGRIGHT ==''){NOTEXT()}    else{document.Add.write.value += ("<img src=" + IMGRIGHT + " align=left>\n")}}function IMGCENTER(){  var IMGCENTER = window.prompt("The name for the image to be Centered:","")    if(IMGCENTER ==''){NOTEXT()}    else{document.Add.write.value += ("<center><img src=" + IMGCENTER + "></center>\n")}}function PRE(){  var PRE = window.prompt("Enter the text to be Preformatted:","")    if(PRE ==''){NOTEXT()}    else{document.Add.write.value += ("<PRE>" + PRE + "</PRE>\n")}}function BLOCKQUOTE(){  var BLOCKQUOTE = window.prompt("Enter the text for the Blockquote:","")    if(BLOCKQUOTE ==''){NOTEXT()}    else{document.Add.write.value += ("<BLOCKQUOTE>" + BLOCKQUOTE + "</BLOCKQUOTE>\n")}}function LINK(){  var PLACE = window.prompt("Enter the links Location:","")  var LINK = window.prompt("Enter the links Name:","")    if(PLACE ==''){NOTEXT()}    if(LINK ==''){NOTEXT()}    else{document.Add.write.value += ("<A HREF=" + PLACE + ">" + LINK + "</A>\n")}}function EMAIL(){  var EMAIL = window.prompt("Enter your e-mail address:","")  var NAME = window.prompt("Enter the text for the address:","")    if(NAME ==''){NOTEXT()}    if(EMAIL ==''){NOTEXT()}    else{document.Add.write.value += ("<A HREF=MAILTO:" + EMAIL + ">" + NAME + "</A>\n")}}function TABLE(){  var TABLEBORDER = window.prompt("What is the width of the border?:","")    if(TABLEBORDER ==''){NOTEXT()}    else{document.Add.write.value += ("<table border=" + TABLEBORDER +">\n")}}function TABLEEND(){document.Add.write.value += ("</table>\n")}function TABLETR(){document.Add.write.value += ("<TR>\n")}function TABLEUNTR(){document.Add.write.value += ("</TR>\n")}function TABLETD(){document.Add.write.value += ("<TD>")}function TABLEUNTD(){document.Add.write.value += ("</TD>\n")}function TABLETH(){var TABLETH = window.prompt("What is the name for the Table Heading?","")    if(TABLETH ==''){NOTEXT()}    else{document.Add.write.value += ("<TH>" + TABLETH +"</TH>\n")}}function TABLECOLSPAN(){var COLSPAN = window.prompt("How many sections of the table should it go?","")    if(COLSPAN ==''){NOTEXT()}    else{document.Add.write.value += ("<td COLSPAN=" + COLSPAN + ">\n")}}function TABLEROWSPAN(){var ROWSPAN = window.prompt("How many sections down on the table should it go?","")    if(ROWSPAN ==''){NOTEXT()}    else{document.Add.write.value += ("<td ROWSPAN=" + ROWSPAN + ">\n")}}function TABLECELLSPACING(){var CELLSPACING = window.prompt("Enter the number for the Cell Spacing:","")    if(CELLSPACING ==''){NOTEXT()}    else{document.Add.write.value += ("<td CELLSPACING=" + CELLSPACING + ">\n")}}function TABLECELLPADDING(){var CELLPADDING = window.prompt("Insert the nuber for the Cell Padding:","")    if(CELLPADDING ==''){NOTEXT()}    else{document.Add.write.value += ("<td CELLPADDING=" + CELLPADDING + ">\n")}}function FONT(){var FONT = window.prompt("What would you like to put in the font tag?","")    if(FONT ==''){NOTEXT()}    else{document.Add.write.value += ("<FONT " + FONT + ">\n")}}function FONTFACE(){var FACE = window.prompt("What type of font do you want to use?","")    if(FACE ==''){NOTEXT()}    else{document.Add.write.value += ("<FONT FACE=" + FACE + ">\n")}}function FONTCOLOR(){var COLOR = window.prompt("What color should the text be?","")    if(COLOR ==''){NOTEXT()}    else{document.Add.write.value += ("<FONT COLOR=" + COLOR + ">\n")}}function FONTSIZE(){var SIZE = window.prompt("How big of text?","")    if(SIZE ==''){NOTEXT()}    else{document.Add.write.value += ("<FONT SIZE=" + SIZE + ">\n")}}function UNFONT(){document.Add.write.value += ("</font>\n")}function UL(){document.Add.write.value += ("<UL>\n")}function UNUL(){document.Add.write.value += ("</UL>\n")}function OL(){document.Add.write.value += ("<OL>\n")}function UNOL(){document.Add.write.value += ("</OL>\n")}function LI(){var LI = window.prompt("What is the text for this list?","")    if(LI ==''){NOTEXT()}    else{document.Add.write.value += ("<LI>" + LI + "</LI>\n")}}function FORM(){var FORMNAME = window.prompt("What is the NAME of the form?","")var FORMMETHOD = window.prompt("What is the METHOD for the form?","")var FORMACTION = window.prompt("What is the ACTION for the form?","")var FORMENCTYPE = window.prompt("What is the ENCTYPE for the form?","text/plain")  if(FORMNAME ==''){NOTEXT()}  if(FORMACTION ==''){NOTEXT()}  if(FORMENCTYPE ==''){NOTEXT()}  else{document.Add.write.value += ("<FORM NANE=" + FORMNAME + " METHOD=" + FORMMETHOD + " ACTION=" + FORMACTION + " ENCTYPE=" + FORMENCTYPE + ">\n")}}function UNFORM(){document.Add.write.value += ("</FORM>\n")}function TEXTAREA(){var TEXTAREANAME = window.prompt("What is the name for the Textarea?","Textarea")var COLS = window.prompt("How many COLUMNS for the Textarea?","50")var ROWS = window.prompt("How many ROWS for the Textarea?","10")var TEXTAREAVALUE = window.prompt("What do you want the textarea to say?","")  if(TEXTAREANAME ==''){NOTEXT()}  if(COLS ==''){NOTEXT()}  if(ROWS ==''){NOTEXT()}  else{document.Add.write.value += ("<TEXTAREA NAME=" + TEXTAREANAME + " ROWS=" + ROWS + " COLS=" + COLS +">\n" + TEXTAREAVALUE + "\n</TEXTAREA>\n")}}function FORMBUTTON(){var BUTTONVALUE = window.prompt("What do you want the button to say?","")  if(BUTTONVALUE ==''){NOTEXT()}  else{document.Add.write.value += ("<INPUT TYPE=BUTTON VALUE=" + BUTTONVALUE + ">\n")}}function SELECT(){var SELECT = window.prompt("What is the name of the select field?","")  if(SELECT ==''){NOTEXT()}  else{document.Add.write.value += ("<SELECT NAME=" + SELECT + ">\n")}}function OPTION(){var OPTION = window.prompt("What is the name of the option?","")  if(OPTION ==''){NOTEXT()}  else{document.Add.write.value += ("<OPTION>" + OPTION + "</OPTION>\n")}}function UNSELECT(){document.Add.write.value += ("</SELECT>\n")}function SUBMIT(){var SUBMITVALUE = window.prompt("What do you want the submit button to say?","")  if(SUBMITVALUE ==''){NOTEXT()}  else{document.Add.write.value += ("<INPUT TYPE=SUBMIT VALUE=" + SUBMITVALUE + ">\n")}}function RESET(){var RESETVALUE = window.prompt("What do you want the reset button to say?","")  if(RESETVALUE ==''){NOTEXT()}  else{document.Add.write.value += ("<INPUT TYPE=RESET VALUE=" + RESETVALUE + ">\n")}}// --></SCRIPT><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->


HTML
<FORM action="" method=post name=TABLE><TABLE border=3 borderColor=#ff000a center?>  <TBODY>  <TR>    <TD bgColor=#000000 colSpan=6 color="FFCC99">      <CENTER><B><FONT color=red>Advanc</FONT><FONT color=orange>ed HTML Ho</FONT><FONT color=yellow>t Pro</FONT> <FONT size=-4>Version 1.3</FONT>       </CENTER></B></TD>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=START() type=button value=" Start "><BR></TD>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=ABOUT() type=button value=" About "><BR></TD>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=END() type=button value="  End  "><BR></TD>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=BODY() type=button value=" Body "><BR></TD>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=PREVIEW(Add) type=button value=Preview><BR></TD>    <TD></TD></TR>  <TR>    <TD></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=CENTER() type=button value="  Center  "><BR></TD>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=UNCENTER() type=button value="  /Center  "><BR>  <TR>    <TD></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=6 color="FFCC99"><INPUT onclick=P() type=button value="   P   "><BR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=LEFTP() type=button value=" Left P "><BR></TD>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=CENTERP() type=button value="Center P"><BR></TD>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=RIGHTP() type=button value=" Right P "><BR>  <TR>    <TD></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=BR() type=button value="  BR  "><BR></TD>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=HR() type=button value="  HR  "><BR></TD>  <TR>    <TD></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=B() type=button value="   B   "><BR></TD>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=I() type=button value="   I   "><BR></TD>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=U() type=button value="   U   "><BR></TD></TR>  <TR>    <TD></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=H1() type=button value="   H1  "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=H2() type=button value="   H2  "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=H3() type=button value="   H3  "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=H4() type=button value="   H4  "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=H5() type=button value="   H5  "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=H6() type=button value="   H6  "><BR></TD></TR>  <TR>    <TD></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=6 color="FFCC99"><INPUT onclick=IMG() type=button value=" Picture "><BR></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=IMGLEFT() type=button value="Left Pic"><BR></TD>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=IMGCENTER() type=button value="Center Pic"><BR></TD>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=IMGRIGHT() type=button value="Right Pic"><BR></TD></TR>  <TR>    <TD></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=PRE() type=button value="  PRE  "><BR></TD>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=BLOCKQUOTE() type=button value=Blockquote><BR></TD></TR>  <TR>    <TD></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=LINK() type=button value="  Link  "><BR></TD>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=EMAIL() type=button value=" E-mail "><BR></TD></TR>  <TR>    <TD></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=TABLE() type=button value="Table Start"><BR></TD>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=TABLEEND() type=button value=" Table End "><BR></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=TABLETR() type=button value="  TR  "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=TABLEUNTR() type=button value=" /TR  "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=TABLETD() type=button value="  TD  "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=TABLEUNTD() type=button value=" /TD  "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99">&nbsp;</TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=TABLETH() type=button value="  TH  "><BR></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=TABLECOLSPAN() type=button value=" Colspan "><BR></TD>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=TABLEROWSPAN() type=button value=" Rowspan "><BR></TD></TR>  <TR>    <TD></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=FONT() type=button value=Font> </TD>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=UNFONT() type=button value=/Font> </TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=FONTFACE() type=button value="Font Face"><BR></TD>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=FONTCOLOR() type=button value="Font Color"><BR></TD>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=FONTSIZE() type=button value="Font Size"><BR></TD></TR>  <TR>    <TD></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=OL() type=button value="  OL  "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=UNOL() type=button value="  /OL  "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=UL() type=button value="  UL  "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=UNUL() type=button value="  /UL  "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99">&nbsp; </TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=LI() type=button value="  LI  "><BR></TD>  <TR>    <TD></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=FORM() type=button value=" Form "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=UNFORM() type=button value=" /Form "><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99">&nbsp; </TD>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=TEXTAREA() type=button value=Textarea><BR></TD>    <TD bgColor=#ffcc99 color="FFCC99"><INPUT onclick=FORMBUTTON() type=button value=Button><BR></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=SUBMIT() type=button value=Submit><BR></TD>    <TD bgColor=#ffcc99 colSpan=3 color="FFCC99"><INPUT onclick=RESET() type=button value=Reset><BR></TD></TR>  <TR align=middle>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=SELECT() type=button value=Select><BR></TD>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=OPTION() type=button value=Option><BR></TD>    <TD bgColor=#ffcc99 colSpan=2 color="FFCC99"><INPUT onclick=UNSELECT() type=button value=/Select><BR></TD></TR></TBODY></TABLE></FORM><FORM name=Add><TEXTAREA cols=80 name=write rows=15 wrap=phisical></TEXTAREA></FORM><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->