[英]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.