HTML Tutorial


 /help/HTML Help Forum   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
Front Page & Tables
Post new topic   Reply to topic    HTML Help Forum -> HTML Table
View previous topic :: View next topic  
Author Message
hooksetter



Joined: 18 Feb 2009
Posts: 2

PostPosted: Wed Feb 18, 2009 5:39 pm     Front Page & Tables Reply with quote

I am trying to bring this tabel into Front page and when I publish it it dosen't work any ideas?

http://www.bcmarinecovering.com/files/vinyl.html
hooksetter



Joined: 18 Feb 2009
Posts: 2

PostPosted: Wed Feb 18, 2009 7:43 pm     Here is the code Reply with quote

Not sure if this will help but here is the code. the problem is that the calculation button is not working.

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>length</title>
<style>
<!--
.style1 {color: #FFFFFF}
-->
</style>
<meta name="Microsoft Border" content="tl">
</head>

<body bgcolor="#0099FF">
<form name="Vinyl_Calc" onsubmit>
<table cellSpacing="0" cellPadding="2" width="500" border="1" id="table17">
<tr>
<td align="middle"><font color="#FFFFFF">&nbsp;</font></td>
<td align="middle"><font color="#FFFFFF"><b>length<br>
(in inches)</b></font></td>
<td align="middle"><font color="#FFFFFF"><b>width<br>
(in inches)</b></font></td>
<td align="middle"><font color="#FFFFFF"><b>U-zip/<br>
smile/<br>
frown?</b></font></td>
<td align="middle"><font color="#FFFFFF"><b>Screen?</b></font></td>
</tr>
<tr>
<td align="middle"><font color="#FFFFFF">Panel 1</font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="1" size="5" value="0" name="higha"></font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="2" size="5" value="0" name="longa"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="ON" name="smile1"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="45" name="screen1"></font></td>
</tr>
<tr>
<td align="middle"><font color="#FFFFFF">Panel 2</font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="3" size="5" value="0" name="highb"></font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="4" size="5" value="0" name="longb"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="ON" name="smile2"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="45" name="screen2"></font></td>
</tr>
<tr>
<td align="middle"><font color="#FFFFFF">Panel 3</font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="5" size="5" value="0" name="H3"></font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="6" size="5" value="0" name="L3"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="0" name="smile3"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="45" name="screen3"></font></td>
</tr>
<tr>
<td align="middle"><font color="#FFFFFF">Panel 4</font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="7" size="5" value="0" name="H4"></font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="8" size="5" value="0" name="L4"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="0" name="smile4"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="45" name="screen4"></font></td>
</tr>
<tr>
<td align="middle"><font color="#FFFFFF">Panel 5</font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="9" size="5" value="0" name="H5"></font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="10" size="5" value="0" name="L5"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="0" name="smile5"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="45" name="screen5"></font></td>
</tr>
<tr>
<td align="middle"><font color="#FFFFFF">Panel 6</font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="11" size="5" value="0" name="H6"></font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="12" size="5" value="0" name="L6"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="0" name="smile6"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="45" name="screen6"></font></td>
</tr>
<tr>
<td align="middle"><font color="#FFFFFF">Panel 7</font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="13" size="5" value="0" name="H7"></font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="14" size="5" value="0" name="L7"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="0" name="smile7"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="45" name="screen7"></font></td>
</tr>
<tr>
<td align="middle"><font color="#FFFFFF">Panel 8</font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="15" size="5" value="0" name="H8"></font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="16" size="5" value="0" name="L8"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="0" name="smile8"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="45" name="screen8"></font></td>
</tr>
<tr>
<td align="middle"><font color="#FFFFFF">Panel 9</font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="17" size="5" value="0" name="H9"></font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="18" size="5" value="0" name="L9"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="0" name="smile9"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="45" name="screen9"></font></td>
</tr>
<tr>
<td align="middle"><font color="#FFFFFF">Panel 10</font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="19" size="5" value="0" name="H10"></font></td>
<td align="middle"><font color="#FFFFFF">
<input tabIndex="20" size="5" value="0" name="L10"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="0" name="smile10"></font></td>
<td align="middle"><font color="#FFFFFF">
<input type="checkbox" value="45" name="screen10"></font></td>
</tr>
</table>
<p align="center"><font color="#FFFFFF">
<input style="FLOAT: left" onclick="screens(document.Vinyl_Calc.screen1.checked,
document.Vinyl_Calc.screen2.checked,document.Vinyl_Calc.screen3.checked,
document.Vinyl_Calc.screen4.checked,document.Vinyl_Calc.screen5.checked,
document.Vinyl_Calc.screen6.checked,document.Vinyl_Calc.screen7.checked,
document.Vinyl_Calc.screen8.checked,document.Vinyl_Calc.screen9.checked,
document.Vinyl_Calc.screen10.checked),
smiles(document.Vinyl_Calc.smile1.checked,
document.Vinyl_Calc.smile2.checked,document.Vinyl_Calc.smile3.checked,
document.Vinyl_Calc.smile4.checked,document.Vinyl_Calc.smile5.checked,
document.Vinyl_Calc.smile6.checked,document.Vinyl_Calc.smile7.checked,
document.Vinyl_Calc.smile8.checked,document.Vinyl_Calc.smile9.checked,
document.Vinyl_Calc.smile10.checked),
calculateCosts(document.Vinyl_Calc.higha.value, document.Vinyl_Calc.longa.value,
document.Vinyl_Calc.highb.value, document.Vinyl_Calc.longb.value,
document.Vinyl_Calc.H3.value, document.Vinyl_Calc.L3.value,
document.Vinyl_Calc.H4.value, document.Vinyl_Calc.L4.value,
document.Vinyl_Calc.H5.value, document.Vinyl_Calc.L5.value,
document.Vinyl_Calc.H6.value, document.Vinyl_Calc.L6.value,
document.Vinyl_Calc.H7.value, document.Vinyl_Calc.L7.value,
document.Vinyl_Calc.H8.value, document.Vinyl_Calc.L8.value,
document.Vinyl_Calc.H9.value, document.Vinyl_Calc.L9.value,
document.Vinyl_Calc.H10.value, document.Vinyl_Calc.L10.value)" tabIndex="21" type="button" value="Calculate Estimated Costs" name="cmdCalc1">
<input style="FLOAT: left" tabIndex="22" type="reset" value="Clear Values">
</font></p>
<h5><font color="#FFFFFF"><br>
<br>
Based on the information you provided above, the estimated cost of
replacing your vinyl (not including shipping or any applicable sales
tax) is:</font></h5>
<ol>
<li><font color="#FFFFFF">$<input readOnly size="10" name="Cost_30Extruded">
if replaced with .030 Gauge Extruded Roll Vinyl </font></li>
<li><font color="#FFFFFF">$<input readOnly size="10" name="Cost_30Sheet">
if replaced with .030 Gauge Sheet Vinyl </font></li>
<li><font color="#FFFFFF">$<input readOnly size="10" name="Cost_40Sheet">
if replaced with .040 Gauge Sheet Vinyl </font></li>
<li><font color="#FFFFFF">$<input readOnly size="10" name="Cost_Strataglass">
if replaced with .040 Strataglass </font></li>
</ol>
</form>

</body>

</html>
Corey Bryant
Site Admin


Joined: 15 May 2004
Posts: 8748
Location: Castle Pines North, CO USA

PostPosted: Thu Feb 19, 2009 8:51 am     Reply with quote

Where did you copy this table from? If you copied it from Excel, and if you are wanting to rely on Excel's formulas to create a working form on the web, you can't really do that.

You need to use maybe JavaScript to help with calculations or maybe even a server side language.

_________________
Corey
Toll Free Numbers | Mile High Merchant Accounts | Expression Web Blog
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum -> HTML Table All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
DARFUR
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial