JavaScript Source Code 3000: Calculators: Room Size
Room Size
Use JavaScript to find the approximate room size you'll need depending on your room setup and arrangement.
Number of people or exhibition booths
Room Size Required
Banquet School RoomTrade Show
60" round tables72" round tablesTheater Seating18" desks30" desksReception8'x10' booths10'x10' booths
Sq. Ft.
Sq. Ft.
Sq. Ft.
Sq. Ft.
Sq. Ft.
Sq. Ft.
Sq. Ft.
Sq. Ft.
JavaScript Source Code 3000: Calculators: Room Size
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!
<!-- TWO STEPS TO INSTALL ROOM SIZE CALCULATOR:
1. Paste the specified coding into the HEAD of your HTML document
2. Put the last code into the BODY of your HTML document -->
<!-- STEP ONE: Copy this code into the HEAD your HTML document -->
<HEAD>
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Motivational Marketing Associates
<! >
<! >
<!-- Begin
function ClearInput(form) {
form.attendance.value="";
form.banquet60.value="";
form.banquet72.value="";
form.theater.value="";
form.school18.value="";
form.school30.value="";
form.reception.value="";
form.trade8.value="";
form.trade10.value="";
return true;
}
function help(helponwhat) {
if (helponwhat == "attendance")
alert("Enter the number of people who will be attending your event.")
}
function SizeCalc(form) {
var banquet60 = 0;
var banquet72 = 0;
var theater = 0;
var school18 = 0;
var school30 = 0;
var reception = 0;
var trade8 = 0;
var trade10 = 0;
if (form.attendance.value==null||form.attendance.value.length==0){
alert("Please enter the number of people attending.");
return false;
}
else
attendance = form.attendance.value
form.banquet60.value = attendance * 12;
form.banquet72.value = attendance * 12.05;
form.theater.value = attendance * 9;
form.school18.value = attendance * 14.5;
form.school30.value = attendance * 17.5;
form.reception.value = attendance * 9.5;
form.trade8.value = attendance * 160;
form.trade10.value = attendance * 200;
return true;
}
// End -->
</SCRIPT>
<!-- STEP TWO: Copy this code into the BODY of your HTML document -->
<BODY>
<CENTER>
<FORM NAME="room" METHOD="post">
<TABLE BORDER>
<TR>
<TD COLSPAN=8 ALIGN=CENTER>
<B>Number of people or exhibition booths</B> <INPUT TYPE="text" name="attendance" SIZE=8></TD>
</TR>
<TR><TD COLSPAN=8 ALIGN=CENTER>
<INPUT TYPE="button" value="Calculate" onClick="SizeCalc(this.form)">
<input type="button" value="Reset" onclick="ClearInput(this.form)"></TD>
</TR>
<TR ALIGN=CENTER><TD COLSPAN=8><B>Room Size Required</B></TD>
</TR>
<TR ALIGN=CENTER><TD COLSPAN=2><FONT SIZE=2>Banquet </TD><TD></TD><TD COLSPAN=2><FONT SIZE=2>School <BR> Room</TD><TD></TD><TD COLSPAN=2><FONT SIZE=2>Trade Show</TD>
</TR>
<TR ALIGN=CENTER><TD><FONT SIZE=2>60" <BR> round <BR> tables</TD><TD><FONT SIZE=2>72" <BR> round <BR>tables</TD><TD><FONT SIZE=2>Theater Seating</TD><TD><FONT SIZE=2>18" <BR>desks</TD><TD><FONT SIZE=2>30" <BR>desks</TD><TD><FONT SIZE=2>Reception</TD><TD><FONT SIZE=2>8'x10' <BR> booths</TD><TD><FONT SIZE=2>10'x10' <BR>booths</TD>
</TR>
<TR><TD><FONT SIZE=2>
<INPUT TYPE="text" name="banquet60" SIZE=8> Sq. Ft.</TD><TD><FONT SIZE=2>
<INPUT TYPE="text" name="banquet72" SIZE=8> Sq. Ft.</TD>
<TD><FONT SIZE=2><INPUT TYPE="text" NAME="theater" SIZE=8> Sq. Ft.</TD>
<TD><FONT SIZE=2><INPUT TYPE="text" name="school18" SIZE=8> Sq. Ft.</TD>
<TD><FONT SIZE=2><INPUT TYPE="text" name="school30" SIZE=8> Sq. Ft.</TD>
<TD><FONT SIZE=2><INPUT TYPE="text" name="reception" SIZE=8> Sq. Ft.</TD>
<TD><FONT SIZE=2><INPUT TYPE="text" NAME="trade8" SIZE=8> Sq. Ft.</TD>
<TD><FONT SIZE=2><INPUT TYPE="text" NAME="trade10" SIZE=8> Sq. Ft.</TD>
</TR>
</TABLE>
</FORM>
</CENTER>
<!-- Script Size: 3.27 KB -->
Wyszukiwarka
Podobne podstrony:
cmd=press room wiecej,80Mad Men [1x02] Ladies Room (XviD asd)Engine room pumpsSkinner s Room William GibsonRindel The Use of Computer Modeling in Room Acoustics (2000)Standing Room OnlyM E S T Hotel RoomIannace, Ianniello, Romano Room Acoustic Conditions Of Performers In An Old Opera Housecheck roomDepeche Mode In Your RoomThe?ad Room cmd=press room wiecej,78Nijs L , de Vries The young architect’s guide to room acousticswięcej podobnych podstron