Cita:
Iniciado por Eleazan
MMmmmm
Ajá. Sí, Ya... esto.. y si tocas aqui.. y allá...
Oh, espera! Revisa la linea 37 y pon allí la condicion buena.
Ains! Q no, q no has puesto código. ¿Quieres q te ayudemos? Intenta poner algo de código, es dificil adivinar donde puede estar tu error o orientarte hacia el...
PD: Usa el highlight tb!
este es el código GRACIAS POR LA OBSERVACION
Código PHP:
</script> </tr>
<tr>
<td colspan="3"><script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler',
style: {
'padding': '5px',
'width': '940px',
},
inc: 5, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 2,
neutral: 150,
persist: true,
savedirection: true
});
</script>
<script type="text/javascript">
marqueeInit({
uniqueid: 'mycrawler2',
style: {
'padding': '2px',
'width': '200px',
'height': '100px'
},
direction: 'left',
inc: 5, //speed - pixel increment for each iteration of this marquee's movement
mouse: 'cursor driven', //mouseover behavior ('pause' 'cursor driven' or false)
moveatleast: 2,
neutral: 150,
savedirection: true,
random: true
});
</script>
<div class="marquee" id="mycrawler2">
<?php
mysql_connect("localhost","root");
mysql_select_db("noticiero");
$re=mysql_query("select * from noticias ORDER BY id_noticia DESC LIMIT 5");
while($f=mysql_fetch_array($re)){
echo '<img src="'.$f['imagen'].'" width="160" heigth="160"/>';
echo $f['titulo'].'';
}
echo"<a href='noticias.php?titulo=".$row['1']."'> ".$row['1']."</a>"; ?>
<table width="100%" border="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td><p> </p></td>
<td><p> </p></td>
<td><p> </p></td>
<td><p> </p></td>
<td><p> </p></td>
</tr>
</table>