"); text = (text +"Needham High School is one of America's " +form.input1.value +"institutions of " +form.input2.value+ " learning. The student body is composed of " +form.input3.value+ " males and " +form.input4.value+ " " +form.input5.value + "."); text = (text +"The " +form.input5.value+ " make the best grades. Students can eat lunch in the " +form.input6.value+ " school cafeteria which features boiled " +form.input7.value+ " and " +form.input8.value+ " sandwiches,"); text = (text +"with all the " +form.input9.value+ " they can drink, for only $1.40. The principle of the school " +form.input10.value+ ", is raising money to build a new " +form.input11.value+ " laboratory and a new football "); text = (text +form.input12.value+ ". Any student who goes to this school can consider himself very " +form.input13.value+ "."); msgWindow=window.open("","displayWindow","toolbar=no,width=375,height=400,directories=no,status=no,scrollbars=yes,resize=no,menubar=no") msgWindow.document.writeln(text) msgWindow.document.close() } } // end hiding contents from old browsers -->
NEEDHAM HIGH SCHOOL
Mad Libs
By Nick Heinle
(examples)