24/04/2011, 17:09
|
| | Fecha de Ingreso: abril-2011
Mensajes: 4
Antigüedad: 13 años, 8 meses Puntos: 0 | |
Respuesta: problema para ver un fondo en ff
Código:
<div id="f"><form method="post" name="form1" action="<?php echo $editFormAction; ?>">
<table align="center">
<tr valign="baseline">
<td nowrap align="right"><font color="#FFFFFF">Marca:</font></td>
<td><select name="marca">
<?php
do {
?>
<option value="<?php echo $row_Recordset1['nom']?>"<?php if (!(strcmp($row_Recordset1['nom'], $row_Recordset1['nom']))) {echo "selected=\"selected\"";} ?>><?php echo $row_Recordset1['nom']?></option>
<?php
} while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
$rows = mysql_num_rows($Recordset1);
if($rows > 0) {
mysql_data_seek($Recordset1, 0);
$row_Recordset1 = mysql_fetch_assoc($Recordset1);
}
?>
</select></td>
</tr>
<tr valign="baseline">
<td nowrap align="right"><font color="#FFFFFF">Categoria</font></td>
<td><select name="tipprod">
<?php
do {
?>
<option value="<?php echo $row_Recordset2['nom']?>"<?php if (!(strcmp($row_Recordset2['nom'], $row_Recordset2['nom']))) {echo "selected=\"selected\"";} ?>><?php echo $row_Recordset2['nom']?></option>
<?php
} while ($row_Recordset2 = mysql_fetch_assoc($Recordset2));
$rows = mysql_num_rows($Recordset2);
if($rows > 0) {
mysql_data_seek($Recordset2, 0);
$row_Recordset2 = mysql_fetch_assoc($Recordset2);
}
?>
</select></td>
</tr>
<tr valign="baseline">
<td nowrap align="right"><font color="#FFFFFF">Sub Categoria:</font></td>
<td><select name="tippro2">
<?php
do {
?>
<option value="<?php echo $row_Recordset3['nom']?>"<?php if (!(strcmp($row_Recordset3['nom'], $row_Recordset3['nom']))) {echo "selected=\"selected\"";} ?>><?php echo $row_Recordset3['nom']?></option>
<?php
} while ($row_Recordset3 = mysql_fetch_assoc($Recordset3));
$rows = mysql_num_rows($Recordset3);
if($rows > 0) {
mysql_data_seek($Recordset3, 0);
$row_Recordset3 = mysql_fetch_assoc($Recordset3);
}
?>
</select></td>
</tr>
<tr valign="baseline">
<td nowrap align="right"><font color="#FFFFFF">Nombre Del Producto:</font></td>
<td><input name="nomprod" id="nomprod" type="text" value="" size="25" maxlength="25"></td>
</tr>
<tr valign="baseline">
<td nowrap align="right"><font color="#FFFFFF">Precio</font></td>
<td><input name="precprod" id= "precprod"type="text" value="" size="6" maxlength="6"onKeyPress="return IsNumber(event);"></td>
</tr>
<tr valign="baseline">
<td nowrap align="right"><font color="#FFFFFF">Cantidad:</font></td>
<td><input type="text" name="candis" id="candis" value="" size="2"onKeyPress="return IsNumber(event);"></td>
</tr>
<tr valign="baseline">
<td nowrap align="right" valign="top"><font color="#FFFFFF">Descripcion:</font></td>
<td valign="top"><textarea name="despro" id="despro"cols="25" rows="3"></textarea></td>
</tr>
<tr valign="baseline">
<td nowrap align="right"><font color="#FFFFFF">Imagen:</font></td>
<td><input name="img_pequea" type="text" id="img_pequea" value="" size="25" maxlength="25"></td>
</tr>
<tr valign="baseline">
<td nowrap align="right"><font color="#FFFFFF">Imagen Grande:</font></td>
<td><input name="img_grande" type="text" id="img_grande" value="" size="25" maxlength="20"></td>
</tr>
<tr valign="bottom">
<td height="32" align="right" nowrap>;</td>
<td><input type="submit" value="Registrar"></td>
</tr>
</table>
<input type="hidden" name="idpro" value="">
<input type="hidden" name="MM_insert" value="form1">
</form></div>
esta es la libreria que le agrege en js
Código:
<script type="text/javascript">
window.onload=function(){
Nifty("div#caja","big");
Nifty ("div#f","big") ;
menu_init(0,12,1,-20,10);
}
</script>
si hace falta algo mas me dices |