2009-11-12 14 views

Respuesta

25

Una forma sería disparar el clic cuando se activa el evento de desplazamiento.

$("a.inline").fancybox().hover(function() { 
    $(this).click(); 
}); 
+1

funcionó como un campeón! – kylex

2
$("#div a").fancybox(
      { 
       'width': '75%', 
       'height': '50%', 
       'autoScale': false, 
       'transitionIn': 'elastic', 
       'transitionOut': 'elastic', 
       'type': 'iframe' 
      }).hover(function() { 
       $(this).click(); 
      }); 
Cuestiones relacionadas