Foros del Web » Programando para Internet » Javascript »

Cambiar valores de un boton HTML javascript

Estas en el tema de Cambiar valores de un boton HTML javascript en el foro de Javascript en Foros del Web. uso el Web developer 2008, tengo un boton HTML "boton (input)" pero quiero cambiarle los valores, he visto que lo cambian pero para un valor ...
  #1 (permalink)  
Antiguo 11/05/2010, 11:06
 
Fecha de Ingreso: mayo-2010
Mensajes: 40
Antigüedad: 14 años
Puntos: 1
Exclamación Cambiar valores de un boton HTML javascript

uso el Web developer 2008, tengo un boton HTML "boton (input)" pero quiero cambiarle los valores, he visto que lo cambian pero para un valor nada mas, yo quiero cambiarlo con 5 valores, al darle click al boton, osea que al darle click al boton cambie su valor.

Lo he hecho de las siguientes maneras si me salen, pero no todos,

los valores son (>=, =, <=, > y <)

En mi codigo lo tengo como
<input id="Fmbtn" type="button" value=">=" onclick=javascript:sig()/>

-------------------
En este solo puedo pasar del 1er valor al 2do, pero si le pongo el mismo cosigo me regresa el ultimo;

<%--<script language=javascript>
function sig()
{
if (document.form1.Fmbtn.value = ">=")
{
document.form1.Fmbtn.value = " = "
}
}
</script>
--%>


y este, este codigo me regresa hasta el ultimo


<script language="JavaScript">
function sig ()
{
var array = new Array(5);
array[0]=">=";
array[1]=" = ";
array[2]="<=";
array[3]=" > ";
array[4]=" < ";
var str;
for(i=0; i<array.length; i++)
{
str=array[i];
}
document.getElementById('Fmbtn').value = str;
}
</script>


la idea original, es que que cambie de valor y que despues regrese otra vez al primer valor.

Gracias por la ayuda y su tiempo, espero me puedan ayudar.
  #2 (permalink)  
Antiguo 11/05/2010, 11:38
Avatar de masterojitos  
Fecha de Ingreso: julio-2008
Ubicación: Lima Callao Chucuito
Mensajes: 1.931
Antigüedad: 15 años, 9 meses
Puntos: 105
Respuesta: Cambiar valores de un boton HTML javascript

Amigo aca te ayudare pero te comento lo siguiente.

se compara con dos iguales (==), no con uno (=).
= ......... asignacion
== ....... comparacion

aqui te dejo el codigo acabado:

Código HTML:
Ver original
  1. <input id="Fmbtn" type="button" value=" >= " onclick="sig()" />
  2. <script type="text/javascript">
  3. function sig(){
  4.     var array = new Array(" >= ", " = ", " <= ", " > ", " < ");
  5.     for(i=0; i < array.length; i++){
  6.         if(document.getElementById('Fmbtn').value == array[i]){
  7.             var indice = (i + 1 == array.length) ? 0 : i + 1;
  8.             document.getElementById('Fmbtn').value = array[indice];
  9.             break;
  10.         }
  11.     }
  12. }
  13. </script>

Suerte.
__________________
Atte. MasterOjitos :ojotes:
Todo sobre Programación Web
Las ultimas tendencias en Efectos y Recursos Web: MasterOjitos Blog
  #3 (permalink)  
Antiguo 11/05/2010, 11:59
 
Fecha de Ingreso: mayo-2010
Mensajes: 40
Antigüedad: 14 años
Puntos: 1
Respuesta: Cambiar valores de un boton HTML javascript

Lo probe, pero no cambia los valores, gracias por corregirme en la sintaxis de las comparaciones, muy amable, en verdad!

a lo mejor lo copie mal, lo checare de nuevo!
graciaS!
  #4 (permalink)  
Antiguo 11/05/2010, 12:03
Avatar de JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 2 meses
Puntos: 772
Respuesta: Cambiar valores de un boton HTML javascript

Hola zeapaez

Pues sí, algo están haciendo mal, porque be probado el código de masterojitos y funciona bien.

Saludos,
  #5 (permalink)  
Antiguo 11/05/2010, 12:10
 
Fecha de Ingreso: mayo-2010
Mensajes: 40
Antigüedad: 14 años
Puntos: 1
Respuesta: Cambiar valores de un boton HTML javascript

ya vi mi error, por que donde dice value, no lo tengo como ">=" si no como "&gt;=" por que sistema asi lo me lo dio! en la parte diseño del Web developer , en propiedades le puse value : >=, pero en el codigo me lo da como "&gt;=" no habra ningun problema? si me funciono, GRACIAS!!!!
  #6 (permalink)  
Antiguo 11/05/2010, 12:10
 
Fecha de Ingreso: mayo-2010
Mensajes: 40
Antigüedad: 14 años
Puntos: 1
Respuesta: Cambiar valores de un boton HTML javascript

Gracias amigo
  #7 (permalink)  
Antiguo 12/05/2010, 18:24
Avatar de masterojitos  
Fecha de Ingreso: julio-2008
Ubicación: Lima Callao Chucuito
Mensajes: 1.931
Antigüedad: 15 años, 9 meses
Puntos: 105
Respuesta: Cambiar valores de un boton HTML javascript

De nada amigo.....

Cuando quieras copiar mejor pon "ver original" y copias del texto original ^^

Suerte y Dios os Bendiga a todos.
__________________
Atte. MasterOjitos :ojotes:
Todo sobre Programación Web
Las ultimas tendencias en Efectos y Recursos Web: MasterOjitos Blog
  #8 (permalink)  
Antiguo 28/04/2011, 20:57
 
Fecha de Ingreso: abril-2011
Ubicación: mexico
Mensajes: 3
Antigüedad: 13 años
Puntos: 0
Respuesta: Cambiar valores de un boton HTML javascript

hola estoy haciendo algunos experimentos y quiero incorporar a este script
Código Javascript:
Ver original
  1. <html><head><script type="text/javascript">
  2. function hola(id){
  3. if (document.getElementById){
  4. var el = document.getElementById(id);
  5. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  6. window.onload = function(){
  7. hola('musik');}
  8. function mostrar(enla,etik) {
  9. obj = document.getElementById(etik);
  10. obj.style.visibility = (obj.style.visibility == 'hidden') ? 'visible' : 'hidden';}
  11. </script>
  12.  
  13. </head><body>
  14. <table background="IMG000008.jpg">
  15. <tbody><tr>
  16. <td>
  17. <fieldset><div align="center"><img src="signbot.gif" ></div>
  18.  
  19. <p><font color="White">tiempo restante</font></p><font color="White">
  20. <form name="Reloj">
  21. <input  type="text" size="7" name="tiempo" value="mm:hh:ss" title="Tiempo restante para
  22.  
  23. finalizar el día">
  24. <script language="JavaScript">
  25. <!--
  26. var tiempoAtras;
  27.  
  28. updateReloj();
  29. function updateReloj() {
  30. var tiempo = new Date();
  31. var hora = 23-tiempo.getHours();
  32. var minutos = 59-tiempo.getMinutes();
  33. var segundos = 59-tiempo.getSeconds();
  34.  
  35. tiempoAtras= (hora < 10) ? hora :hora;
  36. tiempoAtras+= ((minutos < 10) ? ":0" : ":") + minutos;
  37. tiempoAtras+= ((segundos < 10) ? ":0" : ":") + segundos;
  38.  
  39. document.Reloj.tiempo.value = tiempoAtras;
  40.  
  41. setTimeout("updateReloj()",1000);
  42. }
  43. //-->
  44. </script>
  45. <a onclick="hola('musik')"><input  type="button" value="Reproductor" ></a>
  46. <div id="musik">
  47. <embed src="smash.mp3" loop="30" autostart="true" volume="4" width="300" height="60"
  48.  
  49. controls="smallconsole"></div>
  50. </form>
  51.  
  52. <hr align="LEFT" size="1" width="200" color="White" noshade="">1
  53. <a style="cursor: pointer;" onmouseover="mostrar(this,'marca'); return false"
  54.  
  55. onmouseout="mostrar(this,'marca'); return false" onclick="ironman('pelicula');marca
  56.  
  57. ('marca')"><input type="button" value="Iron man"></a>
  58. <div id="marca" style="display: block; visibility: hidden; ">Ver pelicula</div>
  59. <div id="pelicula" style="display: none; ">
  60. <object width="1024" height="439"><param name="movie"
  61.  
  62. value="http://www.megavideo.com/v/APPAV3HOf4e873851034f275ab8fb11ad40e7ed5"
  63.  
  64. ><param name="allowFullScreen" value="true"><embed
  65.  
  66. src="http://www.megavideo.com/v/APPAV3HOf4e873851034f275ab8fb11ad40e7ed5"
  67.  
  68. type="application/x-shockwave-flash" allowfullscreen="true" width="1024"
  69.  
  70. height="439"></object>
  71. </div>
  72. <hr align="LEFT" size="1" width="200" color="White" noshade=""> 2
  73. <a style="cursor: pointer;" onmouseover="mostrar(this,'marcab'); return false"
  74.  
  75. onmouseout="mostrar(this,'marcab'); return false" onclick="ironmanII('peliculaII');marcab
  76.  
  77. ('marcab')"><input type="button" value="Iron man 2"></a>
  78. <div id="marcab" style="visibility: hidden; ">Ver pelicula</div>
  79. <div id="peliculaII" style="display:none">
  80. <object width="1024" height="439"><param name="movie"
  81.  
  82. value="http://www.megavideo.com/v/9M0EAU00cb16d39ac0224aca58c1b2127578d96e"
  83.  
  84. ><param name="allowFullScreen" value="true"><embed
  85.  
  86. src="http://www.megavideo.com/v/9M0EAU00cb16d39ac0224aca58c1b2127578d96e"
  87.  
  88. type="application/x-shockwave-flash" allowfullscreen="true" width="1024"
  89.  
  90. height="439"></object>
  91. </div>
  92. <hr align="LEFT" size="1" width="200" color="White" noshade=""> 3
  93. <a style="cursor: pointer;" onmouseover="mostrar(this,'marcac'); return false"
  94.  
  95. onmouseout="mostrar(this,'marcac'); return false" onclick="avatar('peliculaIII');marcac
  96.  
  97. ('marcac')"><input type="button" value="Avatar"></a>
  98. <div id="marcac" style="display: block; visibility: hidden; ">Ver pelicula</div>
  99. <div id="peliculaIII" style="display: none; ">
  100. <object id="player" width="1024" height="439" classid="clsid:d27cdb6e-ae6d-11cf-96b8
  101.  
  102. -444553540000"><param name="movie"
  103.  
  104. value="http://www.videozer.com/embed/Uqeem2Ym"><param name="allowFullScreen"
  105.  
  106. value="true"><param name="allowscriptaccess" value="always"><embed
  107.  
  108. src="http://www.videozer.com/embed/Uqeem2Ym" type="application/x-shockwave-flash"
  109.  
  110. allowscriptaccess="always" allowfullscreen="true" width="1024"
  111.  
  112. height="439"></object></div>
  113. <hr align="LEFT" size="1" width="200" color="White" noshade=""> 4
  114. <a style="cursor: pointer;" onmouseover="mostrar(this,'marcad'); return false"
  115.  
  116. onmouseout="mostrar(this,'marcad'); return false" onclick="toystoryIII('peliculaIV');marcad
  117.  
  118. ('marcad')"><input type="button" value="Toy story 3"></a>
  119. <div id="marcad" style="display: block; visibility: hidden; ">Ver pelicula</div>
  120. <div id="peliculaIV" style="display: none; ">
  121. <object width="1024" height="439"><param name="movie"
  122.  
  123. value="http://www.megavideo.com/v/86TYZHLN98c6575f3272ed222ae48038ed6eca64"
  124.  
  125. ><param name="allowFullScreen" value="true"><embed
  126.  
  127. src="http://www.megavideo.com/v/86TYZHLN98c6575f3272ed222ae48038ed6eca64"
  128.  
  129. type="application/x-shockwave-flash" allowfullscreen="true" width="1024"
  130.  
  131. height="439"></object></div>
  132. <hr align="LEFT" size="1" width="200" color="White" noshade=""> 5
  133. <a style="cursor: pointer;" onmouseover="mostrar(this,'marcae'); return false"
  134.  
  135. onmouseout="mostrar(this,'marcae'); return false" onclick="knightrider('peliculaV');marcae
  136.  
  137. ('marcae')"><input type="button" value="knight Rider"></a>
  138. <div id="marcae" style="visibility: hidden; ">Ver pelicula</div>
  139. <div id="peliculaV" style="display:none">
  140. <object width="1024" height="439"><param name="movie"
  141.  
  142. value="http://www.megavideo.com/v/JOVL00EZ69c818d6076d77828926d6a85a6e6edb"
  143.  
  144. ><param name="allowFullScreen" value="true"><embed
  145.  
  146. src="http://www.megavideo.com/v/JOVL00EZ69c818d6076d77828926d6a85a6e6edb"
  147.  
  148. type="application/x-shockwave-flash" allowfullscreen="true" width="1024"
  149.  
  150. height="439"></object></div>
  151. <hr align="LEFT" size="1" width="200" color="White" noshade="">6
  152. <a style="cursor: pointer;" onmouseover="mostrar(this,'marcaf'); return false"
  153.  
  154. onmouseout="mostrar(this,'marcaf'); return false" onclick="tdat('peliculaVI');marcaf
  155.  
  156. ('marcaf')"><input type="button" value="El dia despues de mañana"></a>
  157. <div id="marcaf" style="display: block; visibility: hidden; ">Ver pelicula</div>
  158. <div id="peliculaVI" style="display: none; "><object width="1024" height="439"><param
  159.  
  160. name="movie"
  161.  
  162. value="http://www.megavideo.com/v/ATCG5NHH5129f9669bfaa8dd8c34e77a9c28fed0"
  163.  
  164. ><param name="allowFullScreen" value="true"><embed
  165.  
  166. src="http://www.megavideo.com/v/ATCG5NHH5129f9669bfaa8dd8c34e77a9c28fed0"
  167.  
  168. type="application/x-shockwave-flash" allowfullscreen="true" width="1024"
  169.  
  170. height="439"></object></div>
  171. <hr align="LEFT" size="1" width="200" color="White" noshade=""> 7
  172. <a style="cursor: pointer;" onmouseover="mostrar(this,'marcag'); return false"
  173.  
  174. onmouseout="mostrar(this,'marcag'); return false" onclick="eddr('peliculaVII');marcag
  175.  
  176. ('marcag')"><input type="button" value="El discurso del rey"></a>
  177. <div id="marcag" style="display: block; visibility: hidden; ">Ver pelicula</div>
  178. <div id="peliculaVII" style="display: none; "><object id="player" width="1024" height="439"
  179.  
  180. classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"><param name="movie"
  181.  
  182. value="http://www.videobb.com/e/qJEBnEho73mh"><param name="allowFullScreen"
  183.  
  184. value="true"><param name="allowscriptaccess" value="always"><embed
  185.  
  186. src="http://www.videobb.com/e/qJEBnEho73mh" type="application/x-shockwave-flash"
  187.  
  188. allowscriptaccess="always" allowfullscreen="true" width="1024"
  189.  
  190. height="439"></object></div>
  191. </font></fieldset><font color="White">
  192. </font></td>
  193. </tr>
  194. </tbody></table>
  195. </body>
  196. <script language="JavaScript" for="window" event="onload">
  197. var docAncho=document.documentElement.scrollWidth;
  198. var docAlto=document.body.scrollHeight;
  199. window.resizeTo(docAncho,docAlto);
  200. </script></html>

esta funcion
Código Javascript:
Ver original
  1. <input id="Fmbtn" type="button" value=" >= " onclick="sig()" >
  2. <script type="text/javascript">
  3. function sig(){
  4.     var array = new Array(" >= ", " = ", " <= ", " > ", " < ");
  5.     for(i=0; i < array.length; i++){
  6.         if(document.getElementById('Fmbtn').value == array[i]){
  7.             var indice = (i + 1 == array.length) ? 0 : i + 1;
  8.             document.getElementById('Fmbtn').value = array[indice];
  9.             break;
  10.         }
  11.     }
  12. }
  13. </script>

para cambiar el boton de Reproductor a ver y ocultar pero no queda
  #9 (permalink)  
Antiguo 28/04/2011, 21:07
 
Fecha de Ingreso: abril-2011
Ubicación: mexico
Mensajes: 3
Antigüedad: 13 años
Puntos: 0
Respuesta: Cambiar valores de un boton HTML javascript

Código Javascript:
Ver original
  1. <html><head><script type="text/javascript">
  2. function right(e) {
  3. if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){
  4. alert("No puedes usar en boton derecho en esta pagina");
  5. return false;
  6. }
  7. else if (navigator.appName == 'Microsoft Internet Explorer' &&
  8. (event.button == 2 || event.button == 3)) {
  9. alert("No puedes usar el boton derecho en esta pagina.");
  10. return false;
  11. }
  12. return true;
  13. }
  14. document.onmousedown=right;
  15. if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  16. window.onmousedown=right;
  17. function disableselect(e){
  18. return false}
  19. function reEnable(){
  20. return true}
  21. document.onselectstart=new Function ("return false")
  22. if (window.sidebar){
  23. document.onmousedown=disableselect
  24. document.onclick=reEnable}
  25. function ironman(id){
  26. if (document.getElementById){
  27. var el = document.getElementById(id);
  28. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  29. function marca(id){
  30. if (document.getElementById){
  31. var el = document.getElementById(id);
  32. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  33. window.onload = function(){
  34. ironman('pelicula');}
  35. function ironmanII(id){
  36. if (document.getElementById){
  37. var el = document.getElementById(id);
  38. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  39. function marcab(id){
  40. if (document.getElementById){
  41. var el = document.getElementById(id);
  42. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  43. window.onload = function(){
  44. ironmanII('peliculaII');}
  45. function avatar(id){
  46. if (document.getElementById){
  47. var el = document.getElementById(id);
  48. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  49. function marcac(id){
  50. if (document.getElementById){
  51. var el = document.getElementById(id);
  52. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  53. window.onload = function(){
  54. avatar('peliculaIII');}
  55. function toystoryIII(id){
  56. if (document.getElementById){
  57. var el = document.getElementById(id);
  58. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  59. function marcad(id){
  60. if (document.getElementById){
  61. var el = document.getElementById(id);
  62. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  63. window.onload = function(){
  64. toystoryIII('peliculaIV');}
  65. function knightrider(id){
  66. if (document.getElementById){
  67. var el = document.getElementById(id);
  68. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  69. function marcae(id){
  70. if (document.getElementById){
  71. var el = document.getElementById(id);
  72. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  73. window.onload = function(){
  74. knightrider('peliculaV');}
  75. function tdat(id){
  76. if (document.getElementById){
  77. var el = document.getElementById(id);
  78. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  79. function marcaf(id){
  80. if (document.getElementById){
  81. var el = document.getElementById(id);
  82. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  83. window.onload = function(){
  84. tdat('peliculaVI');}
  85. function eddr(id){
  86. if (document.getElementById){
  87. var el = document.getElementById(id);
  88. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  89. function marcag(id){
  90. if (document.getElementById){
  91. var el = document.getElementById(id);
  92. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  93. window.onload = function(){
  94. eddr('peliculaVII');}
  95. function hola(id){
  96. if (document.getElementById){
  97. var el = document.getElementById(id);
  98. el.style.display = (el.style.display == 'none') ? 'block' : 'none'; }}
  99. window.onload = function(){
  100. hola('musik');}
  101. function mostrar(enla,etik) {
  102. obj = document.getElementById(etik);
  103. obj.style.visibility = (obj.style.visibility == 'hidden') ? 'visible' : 'hidden';}
  104. </script>
  105.  
  106. </head><body>
  107. <table background="IMG000008.jpg">
  108. <tbody><tr>
  109. <td>
  110. <fieldset><div align="center"><img src="signbot.gif" ></div>
  111.  
  112. <p><font color="White">tiempo restante</font></p><font color="White">
  113. <form name="Reloj">
  114. <input  type="text" size="7" name="tiempo" value="mm:hh:ss" title="Tiempo restante para
  115.  
  116. finalizar el día">
  117. <script language="JavaScript">
  118. <!--
  119. var tiempoAtras;
  120.  
  121. updateReloj();
  122. function updateReloj() {
  123. var tiempo = new Date();
  124. var hora = 23-tiempo.getHours();
  125. var minutos = 59-tiempo.getMinutes();
  126. var segundos = 59-tiempo.getSeconds();
  127.  
  128. tiempoAtras= (hora < 10) ? hora :hora;
  129. tiempoAtras+= ((minutos < 10) ? ":0" : ":") + minutos;
  130. tiempoAtras+= ((segundos < 10) ? ":0" : ":") + segundos;
  131.  
  132. document.Reloj.tiempo.value = tiempoAtras;
  133.  
  134. setTimeout("updateReloj()",1000);
  135. }
  136. //-->
  137. </script>
  138. <a onclick="hola('musik')"><input  type="button" value="Reproductor" ></a>
  139. <div id="musik">
  140. <embed src="smash.mp3" loop="30" autostart="true" volume="4" width="300" height="60"
  141.  
  142. controls="smallconsole"></div>
  143. </form>
  144.  
  145. <hr align="LEFT" size="1" width="200" color="White" noshade="">1
  146. <a style="cursor: pointer;" onmouseover="mostrar(this,'marca'); return false"
  147.  
  148. onmouseout="mostrar(this,'marca'); return false" onclick="ironman('pelicula');marca
  149.  
  150. ('marca')"><input type="button" value="Iron man"></a>
  151. <div id="marca" style="display: block; visibility: hidden; ">Ver pelicula</div>
  152. <div id="pelicula" style="display: none; ">
  153. </div>
  154. <hr align="LEFT" size="1" width="200" color="White" noshade=""> 2
  155. <a style="cursor: pointer;" onmouseover="mostrar(this,'marcab'); return false"
  156.  
  157. onmouseout="mostrar(this,'marcab'); return false" onclick="ironmanII('peliculaII');marcab
  158.  
  159. ('marcab')"><input type="button" value="Iron man 2"></a>
  160. <div id="marcab" style="visibility: hidden; ">Ver pelicula</div>
  161. <div id="peliculaII" style="display:none">
  162. <object width="1024" height="439">
  163. </div>
  164. <hr align="LEFT" size="1" width="200" color="White" noshade=""> 3
  165. <a style="cursor: pointer;" onmouseover="mostrar(this,'marcac'); return false"
  166.  
  167. onmouseout="mostrar(this,'marcac'); return false" onclick="avatar('peliculaIII');marcac
  168.  
  169. ('marcac')"><input type="button" value="Avatar"></a>
  170. <div id="marcac" style="display: block; visibility: hidden; ">Ver pelicula</div>
  171. <div id="peliculaIII" style="display: none; "></div>
  172. <hr align="LEFT" size="1" width="200" color="White" noshade=""> 4
  173. <a style="cursor: pointer;" onmouseover="mostrar(this,'marcad'); return false"
  174.  
  175. onmouseout="mostrar(this,'marcad'); return false" onclick="toystoryIII('peliculaIV');marcad
  176.  
  177. ('marcad')"><input type="button" value="Toy story 3"></a>
  178. <div id="marcad" style="display: block; visibility: hidden; ">Ver pelicula</div>
  179. <div id="peliculaIV" style="display: none; "></div>
  180. <hr align="LEFT" size="1" width="200" color="White" noshade=""> 5
  181. <a style="cursor: pointer;" onmouseover="mostrar(this,'marcae'); return false"
  182.  
  183. onmouseout="mostrar(this,'marcae'); return false" onclick="knightrider('peliculaV');marcae
  184.  
  185. ('marcae')"><input type="button" value="knight Rider"></a>
  186. <div id="marcae" style="visibility: hidden; ">Ver pelicula</div>
  187. <div id="peliculaV" style="display:none"></div>
  188. <hr align="LEFT" size="1" width="200" color="White" noshade="">6
  189. <a style="cursor: pointer;" onmouseover="mostrar(this,'marcaf'); return false"
  190.  
  191. onmouseout="mostrar(this,'marcaf'); return false" onclick="tdat('peliculaVI');marcaf
  192.  
  193. ('marcaf')"><input type="button" value="El dia despues de mañana"></a>
  194. <div id="marcaf" style="display: block; visibility: hidden; ">Ver pelicula</div>
  195. <div id="peliculaVI" style="display: none; "></object></div>
  196. <hr align="LEFT" size="1" width="200" color="White" noshade=""> 7
  197. <a style="cursor: pointer;" onmouseover="mostrar(this,'marcag'); return false"
  198.  
  199. onmouseout="mostrar(this,'marcag'); return false" onclick="eddr('peliculaVII');marcag
  200.  
  201. ('marcag')"><input type="button" value="El discurso del rey"></a>
  202. <div id="marcag" style="display: block; visibility: hidden; ">Ver pelicula</div>
  203. <div id="peliculaVII" style="display: none; "></div>
  204. </font></fieldset><font color="White">
  205. </font></td>
  206. </tr>
  207. </tbody></table>
  208. </body>
  209. </html>
perdon era esta la que quiero cambiar

Etiquetas: botones
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta

SíEste tema le ha gustado a 1 personas




La zona horaria es GMT -6. Ahora son las 09:22.