Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

showOn setting not working

I add a tooltip to a lot of elements in the page in an iterative manner using this code:
$('.cell.active > .item').each(function() {
Tipped.create(this, "show_video_details", {
ajax: {
data:
{
videoid: $(this).attr('videoid'),
csrf_test_name: $('#videoitems input[name="csrf_test_name"]').val()
},
type: 'post'},
skin: 'yellow',
maxWidth: 500,
hideOthers: true,
//showOn: 'mouseup',
hideOn: [
{ element: 'self', event: 'click' },
{ element: 'tooltip', event: 'mouseleave' }
]
});
});
The elements are all inside a form, so I can send just some data using ajax and I get back the proper html. All is fine except for showOn. Setting it to anything else than 'mouseenter' makes the tooltip not show up. When leaving the option showOn out, or setting it to 'mouseenter', the tooltip appears the way it should.

BTW I use Tipper 3.1.6

Comments

Sign In or Register to comment.