Ver Mensaje Individual
  #3 (permalink)  
Antiguo 17/06/2010, 08:48
VCLL
 
Fecha de Ingreso: junio-2010
Mensajes: 16
Antigüedad: 13 años, 10 meses
Puntos: 0
Respuesta: Error con rollover de un botón

Es todo de una misma plantilla, pero os pongo el código de tres páginas. EN la primera funciona perfectamente, en la segunda no funciona el de entrer pero si otro y en la última no funciona ninguno:
Código HTML:
<body onload="MM_preloadImages('img/terrestreP.jpg')"> 
<?php include("includes/header.php"); ?>
<div class="" id="dal-text"></div>
<div class="text">
<div id="escr"><br /><!-- InstanceBeginEditable name="Text" -->
Bienvenido a IK militar tools. Esta web fue creada por VCLL y la primera versión fue publicada el 29 de mayo del 2010. Es una web gratuita que permite compactar barallas del ikariam y calcular los costes de un ejército. A demás, con el nuevo sistema de usuarios permite guardar las batallas compactadas y ver las batallas guardadas de otros miembros de tu alianza. Si no estás aún registrado lo puedes hacer <a href="registrar.php">aquí</a>. <br /><br /><br />
<table width="100%" border="0" cellspacing="15">
  <tr>
    <td><a href="compactador_t.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Imagen2','','img/terrestreP.jpg',1)"><img src="img/terrestre.jpg" name="Imagen2" width="250" height="60" border="0" id="Imagen2" /></a></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
  <tr>
    <td colspan="3"><h1>Noticias de la web</h1></td>
    </tr>
  <tr>
    <td height="108" colspan="3"><center><table width="70%" border="0" cellspacing="15">
      <?php do { ?>
        <tr>
          <td><p><?php echo $row_noticies['titol']; ?><?php echo $row_noticies['data']; ?></p>
            <p><?php echo $row_noticies['contingut']; ?></p>
            <hr /></td>
        </tr>
        <?php } while ($row_noticies = mysql_fetch_assoc($noticies)); ?>
    </table></center></td>
  </tr>
  </table>
<!-- InstanceEndEditable --><br /></div></div>
<?php include("includes/footer.php"); ?>
</body>
<!-- InstanceEnd --></html> 
Código HTML:
<body> 
<?php include("includes/header.php"); ?>
<div class="" id="dal-text"></div>
<div class="text">
<div id="escr"><br /><!-- InstanceBeginEditable name="Text" --><center>
  <form action="<?php        ?>" method="post" enctype="multipart/form-data" name="dades">
  <table width="848" border="0" cellspacing="10">
    <tr class="dat">
      <td colspan="4"><h1>Unidades Terrestres</h1></td>
    </tr>
    <tr>
      <td>Holpitas</td>
      <td><label>
        <input name="hop" type="text" id="hop" value="0" />
      </label></td>
      <td>Espadachines</td>
      <td><label>
        <input name="esp" type="text" id="esp" value="0" />
      </label></td>
    </tr>
    <tr>
      <td>Gigantes</td>
      <td><label>
        <input name="gig" type="text" id="gig" value="0" />
      </label></td>
      <td>Arietes</td>
      <td><label>
        <input name="ari" type="text" id="ari" value="0" />
      </label></td>
    </tr>
    <tr>
      <td>Honderos</td>
      <td><label>
        <input name="hon" type="text" id="hon" value="0" />
      </label></td>
      <td>Catapultas</td>
      <td><label>
        <input name="cat" type="text" id="cat" value="0" />
      </label></td>
    </tr>
    <tr>
      <td>Arqueros</td>
      <td><label>
        <input name="arq" type="text" id="arq" value="0" />
      </label></td>
      <td>Morteros</td>
      <td><label>
        <input name="mor" type="text" id="mor" value="0" />
      </label></td>
    </tr>
    <tr>
      <td>Fusileros</td>
      <td><label>
        <input name="fus" type="text" id="fus" value="0" />
      </label></td>
      <td>Cocineros</td>
      <td><label>
        <input name="coc" type="text" id="coc" value="0" />
      </label></td>
    </tr>
    <tr>
      <td height="23">Lanceros</td>
      <td><label>
        <input name="lan" type="text" id="lan" value="0" />
      </label></td>
      <td>Médicos</td>
      <td><label>
        <input name="med" type="text" id="med" value="0" />
      </label></td>
    </tr>
    <tr>
      <td height="23" colspan="4">&nbsp;</td>
    </tr>
    <tr class="dat">
      <td height="23" colspan="4"><h1>Unidades Marítimas</h1></td>
    </tr>
    <tr>
      <td height="23">Barco espolón</td>
      <td><label>
        <input name="bes" type="text" id="bes" value="0" />
      </label></td>
      <td>Barco catapulta</td>
      <td><label>
        <input name="bca" type="text" id="bca" value="0" />
      </label></td>
    </tr>
    <tr>
      <td height="23">Barco lanza llamas</td>
      <td><label>
        <input name="bll" type="text" id="bll" value="0" />
      </label></td>
      <td>Barco mortero</td>
      <td><label>
        <input name="bmo" type="text" id="bmo" value="0" />
      </label></td>
    </tr>
    <tr>
      <td height="23">Barco espolón a vapor</td>
      <td><label>
        <input name="bev" type="text" id="bev" value="0" />
      </label></td>
      <td>Submarino</td>
      <td><label>
        <input name="bsu" type="text" id="bsu" value="0" />
      </label></td>
    </tr>
    <tr>
      <td height="23">Barco ballesta</td>
      <td><label>
        <input name="bba" type="text" id="bba" value="0" />
      </label></td>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td height="23">&nbsp;</td>
      <td><input name="comp" type="image" src="img/compacta.png" id="comp" onclick="MM_validateForm('ciu','','R','day','','RisNum','mes','','RisNum','ata','','R','def','','R');return document.MM_returnValue" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('comp','','img/compactaP.png',2)" /></td>
      <td>&nbsp;</td>
      <td><label>
        <input type="reset" name="button" id="button" value="Borra los datos" />
      </label></td>
    </tr>
  </table>
</form>
<br />
<br />
<table width="853" height="100" border="0" align="center" cellspacing="10">
  <tr>
    <td width="60">&nbsp;</td>
    <td width="97"><em>Manutención Parado</em></td>
    <td width="120"><em>Manutención Movimiento</em></td>
    <td width="69"><em>Unidades</em></td>
    <td width="78"><em>Generales </em></td>
    <td width="36"><img src="http://s1.es.ikariam.com/skin/resources/icon_wood.gif" width="25" height="21" /></td>
    <td width="32"><img src="http://s1.es.ikariam.com/skin/resources/icon_wine.gif" width="24" height="20" /></td>
    <td width="46"><img src="http://s1.es.ikariam.com/skin/resources/icon_glass.gif" width="23" height="18" /></td>
    <td width="60"><img src="http://s1.es.ikariam.com/skin/resources/icon_sulfur.gif" width="25" height="19" /></td>
    <td width="125"><em>Personas ocupadas</em></td>
  </tr>
  <tr>
    <td class="dat">TOTAL</td>
    <td><?php echo $man; ?></td>
    <td><?php echo $manM; ?></td>
    <td><?php echo $unid; ?></td>
    <td><?php echo $gen; ?></td>
    <td><?php echo $fusta; ?></td>
    <td><?php echo $vi; ?></td>
    <td><?php echo $vid; ?></td>
    <td><?php echo $sofre; ?></td>
    <td><?php echo $pers; ?></td>
  </tr>
</table>
</center>
<!-- InstanceEndEditable --><br /></div></div>
<?php include("includes/footer.php"); ?>
</body>
<!-- InstanceEnd --></html> 
Ahora posteo la página en la que no me sle ninfún de los tres rollovers