views:

37

answers:

1
$(document).ready(function() {
 $("#demo img[title]").tooltip({effect: 'slide'});
});

I want to add an offset to this function, but when i add offset [20, 0], it doesn't work. I would like to know how to code using 2 parameters.

A: 
$(document).ready(function() {
 $("#demo img[title]").tooltip({effect: 'slide', offset: [10, 2]});
});

this should just work fine. If you have a problem, post you code.

Teja Kantamneni
Thanks for your correct and timely answer. You have helped me greatly. This is my first question, so now I have registered.
tosca
if you find the answer useful, accept it by clicking on the check mark next to the answer. this will help other people find the right answer.
Teja Kantamneni