Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Buttons and Forms

Status
Not open for further replies.

kdumas

Technical User
Jul 8, 2004
17
0
0
US
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>
 
Q1 ?? dont know
Q2 Are you using a seperate css file and if so has that been uploaded?

[Peace][Pipe]
 
The new class is included in the same css file as the other classes and the css file is in the directory that is published. Since the other classes are OK that it probably not the problem(?).

The cells that have the wrong class are cells that are computed with a script. The form has an embedded table and I tried changing the class of the contents of non-computed cells and they work as expected. Is the script causing the problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top