As you can see, your page title ,which you have named '+
'so effortlessly '+form.Titlebox.value+', is located at the windows Title bar above.'
create=window.open("","","toolbar=0,width=180,height=150")
create.document.write(contents)
}
}
function AddStyle(form,Action){
var AddTxt="";
var txt="";
if(Action==1) {
form.Stylebox.value="";
txt=prompt("Enter Body text color:(any color you wish.Use name or hex values)","red");
if(txt==null)return false;
if(txt!=null)
AddTxt+="BODY{color :"+txt+";";
txt=prompt("Enter Body text size:(5 is real small,50 is very big)","10pt");
if(txt==null)return false;
if(txt!=null)
AddTxt+="font-size :"+txt+";";
txt=prompt("Enter Body font family:(Arial,Century Gothic,Goudy Old Style,etc)","Comic Sans MS");
if(txt==null)return false;
if(txt!=null)
AddTxt+="font-family :"+txt+";";
txt=prompt("Enter Body text weight :(regular,bold,or italic)","bold");
if(txt==null)return false;
if(txt!=null)
AddTxt+="font-weight :"+txt+"};";
txt=prompt("Enter paragraph text color:(Can be same as body text,or not)","green");
if(txt==null)return false;
if(txt!=null)
AddTxt+="P{color :"+txt+"};";
txt=prompt("Enter Link text color:(Your links will show up as this colored text)","#0000FF");
if(txt==null)return false;
if(txt!=null)
AddTxt+="A:link{color :"+txt+"};";
txt=prompt("Enter Active link text color:(After you click on the link,it will turn this color)","#0000FF");
if(txt==null)return false;
if(txt!=null)
AddTxt+="A:active{color :"+txt+"};";
txt=prompt("Enter Visited link text color:(The link will turn this color if you have previously clicked on it)","#0000FF");
if(txt==null)return false;
if(txt!=null)
AddTxt+="A:visited{color :"+txt+"};";
txt=prompt("Enter Header level 1 text color:(This is the title for your page.It can be any color,however looks best to keep same color as either body text or paragraph text.)","#FF0000");
if(txt==null)return false;
if(txt!=null)
AddTxt+="H1{color :"+txt+";";
txt=prompt("Enter Header level 1 text size:(This is the title and should be bigger than body text,or paragraph text)","25pt");
if(txt==null)return false;
if(txt!=null)
AddTxt+="font-size :"+txt+"}";
form.Stylebox.value+=AddTxt;
if(form.Stylebox.value){
form.B4.value="Change Style";
form.B6.value="View my Style!";
}
}
}
function ViewStyle(form){
if(form.Stylebox.value==""){
alert("You must enter a Style to view it!")
}
if(form.Stylebox.value){
var contents='
'+
''+form.Titlebox.value+'
'+
''+form.Titlebox.value+'
'+
'This is how your page will look as far as the colors and'+
' size of the text is concerned.Observe how the code is entered and try writing'+
' your own style by using the buttons provided below in the Style section.
'+
'In the next section you will be given the opportunity to add a background image'+
' or color.'+
'
Close Window!'
'
'
create=window.open("","","toolbar=1,status=1,menubar=1,resizable=1,scrollbars=1,width=350,height=200")
create.document.write(contents)
}
}
function eraseStyle(form){
if(confirm("Erase this Style?")) {
form.B4.value="Style Wizard";
form.Stylebox.value="";
}
}
function AddImage(form,Action){
var AddTxt="";
var txt="";
if(Action==1) {
form.Imagebox.value="";
txt=prompt("Enter URL of Background Image:","");
if(txt==null)AddTxt="";
if(txt!=null)
AddTxt+='
';
form.Imagebox.value+=AddTxt;
}
if(Action==2) {
form.Imagebox.value="";
txt=prompt("Enter color for Background:","pink");
if(txt==null)AddTxt="";
if(txt!=null)
AddTxt+='
';
form.Imagebox.value+=AddTxt;
}
}
function ViewImage(form) {
if(form.Imagebox.value==""){
alert("You must enter Image, or color, to view it!")
}
if(form.Imagebox.value){
var contents='
'+
''+form.Titlebox.value+''+form.Imagebox.value+''+ ''+form.Titlebox.value+'
Maximize this window!'+
'Perhaps you are not sure that you have picked the'+
' right color for the Background. '+
'
'+
' Well, try clicking on the color buttons below to see if you can find a better solution for'+
' your page.
(Note -- if you are viewing your background image,'+
' the color buttons will be disabled.)
'+
''+
''+
''+
'When you find the right color, enter it in the prompt'+
' for BG color (the same way it is written on button face above)'+
'.Then move on to next section!
'+
'CloseWindow!'+
'
'
create=window.open("","","toolbar=1,status=1,menubar=1,resizable=1,scrollbars=1,width=350,height=200")
create.document.write(contents)
}
}
function AddUpper(form, Action){
var AddTxt="";
var txt="";
var colortxt="";
var styletxt="";
var wordtxt="";
var image="";
if(Action==2) AddTxt="";
if(Action==3) AddTxt="
";
if(Action==4) AddTxt="
";
if(Action==5) AddTxt="";
if(Action==6) {
txt=prompt("Enter Text to be made bold.","The Editor");
if(txt!=null)
AddTxt=""+txt+"";
}
if(Action==7) {
txt=prompt("Enter Text to be italicized","The Editor");
if(txt!=null)
AddTxt=""+txt+"";
}
if(Action==8) {
txt=prompt("Enter words that you want to be emphasized","Lovely");
if(txt!=null) {
AddTxt=""+txt+"";
}
}
if(Action==9) {
txt=prompt("Enter Text to be underlined:","The Editor");
if(txt!=null)
AddTxt=""+txt+"";
}
if(Action==10) AddTxt=" ";
if(Action==11) AddTxt="
";
if(Action==12) {
txt=prompt("Enter size for text:","+7");
if(txt==null)return false;
if(txt!=null){
colortxt=prompt("Enter color for text:","#FF0000");
if(colortxt==null)return false;
if(colortxt!=null){
styletxt=prompt("Enter style for text:","Goudy Old Style");
if(styletxt==null)return false;
if(styletxt!=null){
wordtxt=prompt("Enter the words that are affected by this font change:","yourwords");
if(txt==null)return false;
if(wordtxt!=null){
AddTxt+=''+wordtxt+'';
}
}
}
}
}
if(Action==13){
txt=prompt("Enter text affected by color:","text");
if(txt==null)return false;
if(txt!=null){
colortxt=prompt("Enter color for text","#0000FF");
if(colortxt==null)return false;
if(colortxt!=null){
AddTxt+=''+txt+'';
}
}
}
if(Action==14)AddTxt='\r\n';
if(Action==15)AddTxt='\r\n- \r\n
- \r\n
- \r\n
\r\n';
if(Action==16)AddTxt='';
if(Action==17){
txt=prompt("Enter link URL that image represents","editor.html");
if(txt==null)return false;
if(txt!=null){
image=prompt("Enter URL of image to link","doug.gif");
if(image==null)return false;
if(image!=null){
AddTxt+='
\r\n';
}
}
}
if(Action==18) {
txt=prompt("Enter URL for the link.","http://people.goplay.com/born63");
if(txt==null)return false;
if(txt!=null){
AddTxt='';
txt=prompt("Enter title for the link.","Born 63 Home Page");
if(txt==null)return false;
if(txt!=null){
AddTxt+=txt+"\r\n";
}
}
}
if(Action==19) {
txt=prompt("Enter the URL for graphic (Example:dove.gif ,or http://people.goplay.com/born63/dove.gif","dove.gif");
if(txt!=null)
AddTxt='
\r\n';
}
form.Upperbox.select();
form.Upperbox.value+=AddTxt;
}
function ViewUpper(form) {
if(form.Upperbox.value==""){
alert("You must enter at least a word view it!")
}
if(form.Upperbox.value){
var contents='
'+
''+form.Titlebox.value+''+form.Imagebox.value+''+ ''+form.Titlebox.value+'
'+
''+form.Upperbox.value+''+
'CloseWindow!'+
'
'
create=window.open("","","toolbar=1,status=1,menubar=1,resizable=1,scrollbars=1,width=350,height=200")
create.document.write(contents)
}
}
function ClearUpper(form) {
if(confirm("Erase the Upper page of all it's contents?")) {
form.Upperbox.value="";
}
}
function AddMiddle(form, Action){
var AddTxt="";
var txt="";
var bgtxt="";
var widthtxt="";
var wordtxt="";
if(Action==1) AddTxt="";
if(Action==2) AddTxt="
";
if(Action==3) AddTxt="
";
if(Action==4) AddTxt="";
if(Action==5) {
txt=prompt("Enter Text to be made bold.","The Editor");
if(txt!=null)
AddTxt=""+txt+"";
}
if(Action==6) {
txt=prompt("Enter Text to be italicized","The Editor");
if(txt!=null)
AddTxt=""+txt+"";
}
if(Action==7) {
txt=prompt("Enter words that you want to be emphasized","Lovely");
if(txt!=null) {
AddTxt=""+txt+"";
}
}
if(Action==8) {
txt=prompt("Enter Text to be underlined:","The Editor");
if(txt!=null)
AddTxt=""+txt+"";
}
if(Action==9) AddTxt="
";
if(Action==10) AddTxt="
";
if(Action==11) {
txt=prompt("Enter size for text:","+7");
if(txt==null)return false;
if(txt!=null){
colortxt=prompt("Enter color for text:","#FF0000");
if(colortxt==null)return false;
if(colortxt!=null){
styletxt=prompt("Enter style for text:","Goudy Old Style");
if(styletxt==null)return false;
if(styletxt!=null){
wordtxt=prompt("Enter the words that are affected by this font change:","yourwords");
if(txt==null)return false;
if(wordtxt!=null){
AddTxt+=''+wordtxt+'';
}
}
}
}
}
if(Action==12){
txt=prompt("Enter text affected by color:","text");
if(txt==null)return false;
if(txt!=null){
colortxt=prompt("Enter color for text","#0000FF");
if(colortxt==null)return false;
if(colortxt!=null){
AddTxt+=''+txt+'';
}
}
}
if(Action==13){
txt=prompt("Enter link URL that image represents","editor.html");
if(txt==null)return false;
if(txt!=null){
image=prompt("Enter URL of image to link","doug.gif");
if(image==null)return false;
if(image!=null){
AddTxt+='
\r\n';
}
}
}
if(Action==14) {
txt=prompt("Enter URL for the link.","http://people.goplay.com/born63");
if(txt==null)return false;
if(txt!=null){
AddTxt='';
txt=prompt("Enter title for the link.","Born 63 Home Page");
if(txt==null)return false;
if(txt!=null){
AddTxt+=txt+"\r\n";
}
}
}
if(Action==15) {
txt=prompt("Enter the URL for graphic (Example:dove.gif ,or http://people.goplay.com/born63/dove.gif","dove.gif");
if(txt!=null)
AddTxt='
\r\n';
}
if(Action==16) {
txt=prompt("IMPORTANT!Enter the filename of page this drop down menu will appear on:","editor.html");
if(txt==null)return false;
if(txt!=null)
AddTxt+='
'
create=window.open("","","toolbar=1,status=1,menubar=1,resizable=1,scrollbars=1,width=350,height=200")
create.document.write(contents)
}
}
function ClearMiddle(form) {
if(confirm("Erase the Middle page of all it's contents?")) {
form.Middlebox.value="";
}
}
function AddLower(form, Action){
var AddTxt="";
var txt="";
if(Action==1) {
txt=prompt("Enter your E-Mail address","born63@goplay.com");
if(txt!=null)
AddTxt+="