Hello,
Im trying to apply a slide to the simple tooltip implementation, but im not sure if I have the syntax correct, can anyone help?
$("#navigation img[title]").tooltip('#demotip'); <--- this works
now with slide?
$("#navigation img[title]").tooltip('#demotip', { effect: 'slide'}); <--- doesnt work
Correct syntax below:
$("#navigation img[title]").tooltip({
// use single tooltip element for all tips
tip: '#demotip',
// tweak the position
offset: [25, 0],
// use "slide" effect
effect: 'slide'
// add dynamic plugin
});
Im trying to apply a slide to the simple tooltip implementation, but im not sure if I have the syntax correct, can anyone help?
$("#navigation img[title]").tooltip('#demotip'); <--- this works
now with slide?
$("#navigation img[title]").tooltip('#demotip', { effect: 'slide'}); <--- doesnt work
Correct syntax below:
$("#navigation img[title]").tooltip({
// use single tooltip element for all tips
tip: '#demotip',
// tweak the position
offset: [25, 0],
// use "slide" effect
effect: 'slide'
// add dynamic plugin
});
