I am new to DW and have implemented a site with several navigation buttons and a calculating form (javascript). There are minor problems with both.
Question 1:
I would like to remove one of the navigation buttons and have tried by deleting the lines in the HTML. It seems to work OK when published but there are squiggly red lines under the HTML text for the preceding and succeeding buttons. Does this mean there is an error? If, so, what should be done to fix it?
<!-- FIRST BUTTON
<TR>
<TD><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','images/buttons2_01.gif',1)"><img src="images/buttons_01.gif" name="Image7" width="142" height="37" border="0"></a>
</TD>
</TR>
<!-- 2ND BUTTON (REMOVE BY DELETING FROM <TR> to </TR>)
<TR>
<TD><img src="images/buttons_02.gif" name="Image8" width="142" height="31" border="0" onMouseOver="MM_showMenu(window.mm_menu_0526100653_0,142,0,null,'Image8')" onMouseOut="MM_startTimeout();">
</TD>
</TR>
<!-- THIRD BUTTON
<TR>
<TD><img src="images/buttons_03.gif" name="Image9" width="142" height="32" border="0" onMouseOver="MM_showMenu(window.mm_menu_0526101349_0,142,0,null,'Image9')" onMouseOut="MM_startTimeout();">
</TD>
</TR>
Question 2:
Several cells in a form are calculated by a script using viewer inputs. The calculated cell has a class="header4" which describes the font, size, color, etc. When viewed in the DW Design window the cell has the correct class (i.e. correct font, size, color, etc). But when previewed in the browser and when published the text does not match the class. What is happening?
<td><div align="right"><input name="total_profit_savings" type="text" class="header4" id="total_profit_savings" size="5" maxlength="8" value="$ 0"disabled>
</div></td>
Question 1:
I would like to remove one of the navigation buttons and have tried by deleting the lines in the HTML. It seems to work OK when published but there are squiggly red lines under the HTML text for the preceding and succeeding buttons. Does this mean there is an error? If, so, what should be done to fix it?
<!-- FIRST BUTTON
<TR>
<TD><a href="index.html" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image7','','images/buttons2_01.gif',1)"><img src="images/buttons_01.gif" name="Image7" width="142" height="37" border="0"></a>
</TD>
</TR>
<!-- 2ND BUTTON (REMOVE BY DELETING FROM <TR> to </TR>)
<TR>
<TD><img src="images/buttons_02.gif" name="Image8" width="142" height="31" border="0" onMouseOver="MM_showMenu(window.mm_menu_0526100653_0,142,0,null,'Image8')" onMouseOut="MM_startTimeout();">
</TD>
</TR>
<!-- THIRD BUTTON
<TR>
<TD><img src="images/buttons_03.gif" name="Image9" width="142" height="32" border="0" onMouseOver="MM_showMenu(window.mm_menu_0526101349_0,142,0,null,'Image9')" onMouseOut="MM_startTimeout();">
</TD>
</TR>
Question 2:
Several cells in a form are calculated by a script using viewer inputs. The calculated cell has a class="header4" which describes the font, size, color, etc. When viewed in the DW Design window the cell has the correct class (i.e. correct font, size, color, etc). But when previewed in the browser and when published the text does not match the class. What is happening?
<td><div align="right"><input name="total_profit_savings" type="text" class="header4" id="total_profit_savings" size="5" maxlength="8" value="$ 0"disabled>
</div></td>