Ver Mensaje Individual
  #4 (permalink)  
Antiguo 09/05/2013, 04:06
pupefo
 
Fecha de Ingreso: noviembre-2012
Mensajes: 84
Antigüedad: 11 años, 5 meses
Puntos: 5
Respuesta: Utilizar Shadowbox con onclick

Código:
$(document).ready(function(){
    $("img").click(function(){
        var imagen=$(this).attr("src"); 
        setTimeout(function() { 
            Shadowbox.open({  
                content:    '<div id="zoom_general">   <div id="zoom_image">  <img src="'+imagen+'"></div></div>', 
                player:     "html",
                title:      "Pintura",
                width:      492,
                height:     367
            });
        }, 50);
    });
    
});