Ver Mensaje Individual
  #2 (permalink)  
Antiguo 31/10/2012, 07:47
Avatar de Perr0
Perr0
 
Fecha de Ingreso: mayo-2005
Ubicación: Santiago de Chile, Chile
Mensajes: 676
Antigüedad: 19 años, 8 meses
Puntos: 79
Respuesta: Como puedo iniciar una descarga con javascript?

si es una celda, debería ser algos así:

Código PHP:
<style>
.
a:hover{
cursor:pointer;
background-color:yellow;
}
</
style>
<
table width="0" border="1" cellspacing="2" cellpadding="5">
  <
tr bgcolor="#CCCCCC">
    <
th>Archivo</th>
    <
th>Versi&oacute;n</th>
  </
tr>
  <
tr>
    <
td class="a" onClick="javascript:location.href='http://www.rarlab.com/rar/wrar420.exe'">winrar</td>
    <
td>4.20x86</td>
  </
tr>
  <
tr>
    <
td class="a" onClick="javascript:location.href='http://www.rarlab.com/rar/winrar-x64-420.exe'">winrar</td>
    <
td>4.20x64</td>
  </
tr>
</
table
le aplique estilo para que se note como un link

salu2
__________________
Numerador Mp3 en Access =)
http://www.mediafire.com/download/r9...pdw/mp3(2).zip