Jquery tooltip plugin qTip doesn't seem to set width properly
Posted
by ooo
on Stack Overflow
See other posts from Stack Overflow
or by ooo
Published on 2010-05-15T16:21:13Z
Indexed on
2010/05/15
16:34 UTC
Read the original article
Hit count: 212
i have an asp.net mvc site and here is a dynamic tooltip using qTip
Here is my code:
$('a.showNutritionInfo').each(function() {
$(this).qtip({
content: {
text: '<img src="../../images/ajax-loader1.gif" alt="" />',
style: { width: 450 },
url: '/Tracker/NutritionInfo/' + $(this).attr('id'),
method: 'get'
}
});
});
this works perfectly EXCEPT the width attribute listed above is ignored. No matter what i put in that width attribute, i get the same size width tooltip which is about half of the width that i need. the height is perfectly fine.
any ideas? is this a bug in the product ?
© Stack Overflow or respective owner