0
你好iam使用qtip2没有任何问题,我想附加用户专注于一些通知经典跳跃效果。qtip2 - 无限跳跃效果虽然它显示
这不是关于如何通过过渡显示qtip,而是关于在显示qtip时跳跃。
我在API中找到了position effect method,但我不知道如何使用它来达到无限循环的跳跃效果。
有人知道吗?
你好iam使用qtip2没有任何问题,我想附加用户专注于一些通知经典跳跃效果。qtip2 - 无限跳跃效果虽然它显示
这不是关于如何通过过渡显示qtip,而是关于在显示qtip时跳跃。
我在API中找到了position effect method,但我不知道如何使用它来达到无限循环的跳跃效果。
有人知道吗?
虽然不是无限的,但我目前正在使用下面的弹跳效果。
$('#yourID').qtip({
content: {
text: 'Your alert information!'
},
position: {
my: 'bottom center',
at: 'top left'
},
show: {
ready: true
},
hide: 'unfocus',
events: {
show: function (event, api) {
$(this).show("bounce", { times: 5, distance: 50 }, 1000);
}
},
style: {
classes: 'ui-tooltip-shadow ui-tooltip-red'
}
});