title

" + "Friends, Romans, " + ""+document.madlibs.input1.value+"" + " lend me your " + ""+document.madlibs.input2.value+"" + "; I come to " + ""+document.madlibs.input3.value+"" + " Caesar, not to praise him. " + " The evil that men do lives after them, the good is oft interred with their " + ""+document.madlibs.input4.value+"" + "; so let it be with " + ""+document.madlibs.input5.value+"" + ". The noble Brutus hath told you Caesar was " + ""+document.madlibs.input6.value+"" + "; if it were so, it was a grievous fault." ; libsWin= window.open("","",",width=300, height=250, scrollbars=yes"); libsWin.document.write(story); libsWin.document.close(); } // -->

Plural Noun:
Part of Body:
Active verb:
Part(s) of Body:
Politician:
Adjective:


NOTE: This is an illustrative example of Javascript, for the CM35 class at Suffolk Community College, Selden, NY. It was adapted from the book: "Designing with javaScript", by Nick Heinle [O'Reilly: 1997], pp 50-53.

.


1
Hosted by www.Geocities.ws