Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/12/2009, 00:42
Avatar de zerokilled
zerokilled
Javascripter
 
Fecha de Ingreso: abril-2009
Ubicación: Isla del Encanto, La Borinqueña [+>==]
Mensajes: 8.050
Antigüedad: 15 años
Puntos: 1485
Respuesta: Me gustaria saber como hacer esto!

a continuacion te muestro el codigo que aparentemente esta involucrado pero no voy a discutirlo.
Código:
<script>t = 1000;function timer1(){setTimeout('gateway.enable2.disabled = false' , t)}function vote1(){window.open("support-1.htm","_blank","scrollbars=1,status=0,menubar=0,resizable=0,location=0,toolbar=0,width=360,height=270");}t = 2000;function timer2(){setTimeout('gateway.submit.disabled = false' , t)}function vote2(){window.open("support-2.htm","_blank","scrollbars=1,status=0,menubar=0,resizable=0,location=0,toolbar=0,width=360,height=270");}function download(){window.open("index.php","_self");}function stop1(){setTimeout('gateway.enable1.disabled = true' , t)}function stop2(){setTimeout('gateway.enable2.disabled = true' , t)}                                                            </script>

<!-- y los botones -->
<input style="font-weight: bold; font-size: 10px; color: rgb(0, 0, 0); font-family: verdana;" onclick="timer1();stop1();vote1()" value="   Support Link 1   " name="enable1" type="button">                                                    <input style="font-weight: bold; font-size: 10px; color: rgb(0, 0, 0); font-family: verdana;" disabled="disabled" onclick="timer2();stop2();vote2()" value="   Support Link 2   " name="enable2" type="button"> <input style="text-decoration: blink; font-weight: bold; font-size: 10px; color: rgb(0, 0, 0); font-family: verdana;" onclick="download()" value="    Enter      " name="submit" type="button">
en lo personal, la idea me parece absurda y maxime cuando se emplea lenguaje de lado cliente, ya que este es facil de evadirse.
__________________
la maldad es una virtud humana,
y la espiritualidad es la lucha del hombre contra su maldad.