imagen para presentar el botón

  • olm75
  • Proficient
  • Proficient
  • No Avatar
  • Registrado: Ago 07, 2005
  • Mensajes: 294
  • Status: Offline

Nota Marzo 10th, 2009, 5:03 am

Aceptar su pasado un tiempo desde que he hecho esto, pero por alguna razón que no puede obtener el formulario para ir a través de:
Código: [ Select ]
 
<form action="/index.html" method="post" name="contestForm" id="contestForm">
              <table width="550" border="0" align="center" cellpadding="2" cellspacing="6" class="join_form">
                <tr>
                  <td align="right" valign="middle">choose site: </td>
                  <td height="14" align="left"><select name="site" id="site">
                    <option>choose site desired</option>
                  </select></td>
                </tr>
                <tr>
                  <td colspan="2" align="center"><table width="500" border="0" cellspacing="0" cellpadding="0" id="submit_form">
                    <tr>
                      <th height="145" align="right" scope="col"><!--<img src="images/suggest_23.gif" name="submit" width="595" height="94" id="submit" />-->
                      <INPUT name="submit" INPUT type="image" id="submit" SRC="images/suggest_23.gif" WIDTH="595" HEIGHT="94" BORDER="0" ALT="Submit Form">
                     
                      </th>
                    </tr>
                    <tr>
                      <td align="center" valign="middle">&nbsp;</td>
                    </tr>
                  </table></td>
                </tr>
              </table>
            </form>
 
  1.  
  2. <form action="/index.html" method="post" name="contestForm" id="contestForm">
  3.               <table width="550" border="0" align="center" cellpadding="2" cellspacing="6" class="join_form">
  4.                 <tr>
  5.                   <td align="right" valign="middle">choose site: </td>
  6.                   <td height="14" align="left"><select name="site" id="site">
  7.                     <option>choose site desired</option>
  8.                   </select></td>
  9.                 </tr>
  10.                 <tr>
  11.                   <td colspan="2" align="center"><table width="500" border="0" cellspacing="0" cellpadding="0" id="submit_form">
  12.                     <tr>
  13.                       <th height="145" align="right" scope="col"><!--<img src="images/suggest_23.gif" name="submit" width="595" height="94" id="submit" />-->
  14.                       <INPUT name="submit" INPUT type="image" id="submit" SRC="images/suggest_23.gif" WIDTH="595" HEIGHT="94" BORDER="0" ALT="Submit Form">
  15.                      
  16.                       </th>
  17.                     </tr>
  18.                     <tr>
  19.                       <td align="center" valign="middle">&nbsp;</td>
  20.                     </tr>
  21.                   </table></td>
  22.                 </tr>
  23.               </table>
  24.             </form>
  25.  


y cuando lo hace me aparece un 405 método no permitido de error:
Código: [ Select ]
 
Method Not Allowed
The requested method GET is not allowed for the URL /index.html.
 
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/1.3.41 Server at braces-porn.mnpromo.com Port 80
 
  1.  
  2. Method Not Allowed
  3. The requested method GET is not allowed for the URL /index.html.
  4.  
  5. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
  6. Apache/1.3.41 Server at braces-porn.mnpromo.com Port 80
  7.  

im suponiendo que se necesita para configurar el botón para enviar la imagen, pero sólo una razón que no recuerdo cómo, porque pensé que era establecida anteriormente en el código.
Código: [ Select ]
 
<form action="/index.html" method="post" name="contestForm" id="contestForm">
 
  1.  
  2. <form action="/index.html" method="post" name="contestForm" id="contestForm">
  3.  

puede alguien ayudar a
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Marzo 10th, 2009, 5:03 am

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • Avatar de Usuario
  • Registrado: May 28, 2003
  • Mensajes: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Nota Marzo 10th, 2009, 5:17 am

¿Qué estás usando para procesar el formulario con la información? El error es más probable en su index.html. Sólo puedo suponer que usted está utilizando un javascript para proceso con? su un poco raro ver una forma de acción como una página HTML. Yo habría esperado un asp o php como su acción.


Off Topic - el botón "enviar" que trajo a la mente una cita de ayer me encontré a través de "La web es una dominatrix. Cada vez, cuando me veo poco a ordenar botones Enviar". jajaja
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • bishop_ian
  • Newbie
  • Newbie
  • No Avatar
  • Registrado: Abr 27, 2010
  • Mensajes: 14
  • Status: Offline

Nota Abril 27th, 2010, 2:47 am

La forma más sencilla es utilizar una imagen como un botón de enviar empleando la etiqueta <input> formulario HTML.
type="image" <input name="myclicker" src="image.jpg" width="55" height="22">

Publicar Información

  • Total de mensajes en este tema: 3 mensajes
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 111 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC