asp.net mvc - Jquery tooltip plugin qTip doesn't seem to set width properly -


I have an asp.net mvc site and here is a dynamic tooltip

here is my code :

  $ ('a.showNutritionInfo') each (function () {$ (this) .qtip ({content: {text: '& lt; img src = "../ ./images/ajax-loader1.gif "alt =" "/>, style: {width: 450}, url: '/ tracker / nutrition information /' + $ (this) .attr ('id') , Method: 'received'}});});  

This completely ignores the width attributes listed on EXCEPT . Whatever width you put in the attribute, I get the same width of the width tooltip, which I need more than half the width I height is perfectly fine.

Any ideas? Is this a bug in the product?

You are excluded from the style content declaration As the announcement they have two different properties:

  $ (this) .qtip ({content: {text: '& lt; img src = "./../images/ajax- Loader1.gif "alt =" "/ & gt; ', url:' / tracker / nutrition information / '+ $ (this) .attr (' id '), method:' get '', style: {width: 450}});  

Comments