2013-10-11 50 views
1

如何删除colorbox上的关闭动画?我的代码在下面只删除了开头的转换。提前致谢。如何移除colorbox关闭动画?

$(".displayAddProducts").colorbox({ 
    inline: true, 
    width: "70%", 
    height: "50%", 
    transition: "none", 
    fadeOut: "0" 
}); 
+0

你有没有尝试设置'speed'属性为'0':'速度:“0'' – Nunners

回答

2

刚从fadeOut删除"

$(".displayAddProducts").colorbox({ 
    inline: true, 
    width: "70%", 
    height: "50%", 
    transition: "none", 
    fadeOut: 0 
});