Código Javascript:
Ver original
<html> <head></head> <script language="javascript"> function ir(){ if (pantalla==11){ window.location.href="http://www.telesistema11.tv/";} else if (pantalla==13){ window.location.href="http://www.telecentro.com.do/";} else (pantalla==15){ window.location.href="http://www.digital15.com.do/";} } </script> <body bgcolor="aqua"> <font color="white"> <center><h1>Control Remoto</h1><br> <table border=4> <form name="remoto"> <tr> <td><center> <input type="text" name="pantalla" size="16"> <center><br> </td> </tr> <center> <td> <table> <tr> <td><input type="button" name="uno" value=" 1 " OnClick="remoto.pantalla.value += '1'"></td> <td><input type="button" name="dos" value=" 2 " OnClick="remoto.pantalla.value += '2'"></td> <td><input type="button" name="tres" value=" 3 " OnClick="remoto.pantalla.value += '3'"></td> </tr> <table> <tr> <td><input type="button" name="cuatro" value=" 4 " OnClick="remoto.pantalla.value += '4'"></td> <td><input type="button" name="cinco" value=" 5 " OnClick="remoto.pantalla.value += '5'"></td> <td><input type="button" name="seis" value=" 6 " OnClick="remoto.pantalla.value += '6'"></td> </tr> <table> <tr> <td><input type="button" name="siete" value=" 7 " OnClick="remoto.pantalla.value += '7'"></td> <td><input type="button" name="ocho" value=" 8 " OnClick="remoto.pantalla.value += '8'"></td> <td><input type="button" name="nueve" value=" 9 " OnClick="remoto.pantalla.value += '9'"></td> </tr> <table> <tr> <td><input type="button" name="cero" value=" 0 " OnClick="remoto.pantalla.value += '0'"></td> <td><input type="button" name="ir" value=" Ir " OnClick="ir()"></td> </tr> <table> <tr> <td><input type="button" name="channel +" value="channel +" OnClick=""></td> <td><input type="button" name="volumen +" value="volumen +" OnClick=""></td> </tr> <table> <tr> <td><input type="button" name="channel -" value="channel -" OnClick=""></td> <td><input type="button" name="volumen -" value="volumen -" OnClick=""></td> </tr> </center> </form> </body> </html>
Por favor, ayudenme a resolverlo.