Ver Mensaje Individual
  #2 (permalink)  
Antiguo 23/02/2010, 08:20
Avatar de mayid
mayid
Colaborador
 
Fecha de Ingreso: marzo-2009
Ubicación: BsAs
Mensajes: 4.014
Antigüedad: 15 años, 1 mes
Puntos: 101
Respuesta: jquery + maplightbox + iexplorer

IE te marca añlgun error? Sería bueno saberlo.

Antes que nada, yo soy de aunar todos los document.ready que hay en un script. Solo porque me parece más prolijo. Fijate (puse los dos en uno):

Cita:
$(function(){


$('.map').maphilight({fade: false});

$('area[shape=poly]').click(function(event){
event.preventDefault();
var id = $(this).attr('id');
var provincia = $(this).attr('title');
alert(id);
$('#cuadro2').load('datosCampos.php?id='+id);
alert(id);
$('#cuadro2').css({visibility:'visible'});
});
});
En cuanto al resto del código... para que tenes event.preventDefault(); ? Eso no corta el flujo?