Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/07/2010, 23:12
Avatar de emprear
emprear
Colaborador
 
Fecha de Ingreso: junio-2007
Ubicación: me mudé
Mensajes: 8.388
Antigüedad: 16 años, 9 meses
Puntos: 1567
Respuesta: Formularios Html. action input="image"

susana:

la script que pasaste está plagada de errores, este es solo un fragmento
dónde dice:

Código Javascript:
Ver original
  1. function zoomhelper(){
  2. if (parseInt(whatcache.style.width)>10&&parseInt(what cache.style.height)>10){
  3. whatcache.style.width=parseInt(whatcache.style.wid th)+parseInt(whatcache.style.width)*zoomfactor*pre fix
  4. whatcache.style.height=parseInt(whatcache.style.he ight)+parseInt(whatcache.style.height)*zoomfactor* prefix
  5. }
  6. }
debe decir:

Código Javascript:
Ver original
  1. function zoomhelper(){
  2. if ((parseInt(whatcache.style.width)>10)&&(parseInt(whatcache.style.height)>10)){
  3. whatcache.style.width=parseInt(whatcache.style.width)+parseInt(whatcache.style.width)*zoomfactor*prefix;
  4. whatcache.style.height=parseInt(whatcache.style.height)+parseInt(whatcache.style.height)*zoomfactor*prefix;
  5. }
  6. }


y habia unos cuantos más...

al clickear en la imagen inferior te lleva a coordenadas2.php, por otra parte en ese form tan extraño que has implementado, no encuentro dato alguno que pasar al coordenadas2.php.

Te dejo una demo del efecto funcionando en
http://foros.emprear.com/html/susana_18/zoom.html
el efecto es medio raro, bueno, al menos con las imágenes que puse, espero no seas pretenciosa.
Ah, y trata de no usar BMP, JPG preferiblemente

Saludos