繁体   English   中英

Fancybox v2.1.3

[英]Fancybox v2.1.3

嗨,所有fancybox爱好者。 我如何在这里插入助手:

     $(document).mouseleave(function() {
         $.fancybox("#feedback_form");
     });​

我被困在那里了。

(我猜)你可以这样做:

     $(document).mouseleave(function() {
         var options = {
           openEffect: 'elastic',
           helpers: {
             title: {
               type: 'inside'
             }
           }
         };
         $.fancybox("#feedback_form", options);
     });​

问题不是很清楚,但我的猜测是你在找这样的东西?

 $(document).mouseleave(function() {
         $("#feedback_form").show(); // this will remove the 'display:none'
         $("#feedback_form").fancybox();
 });​

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM