kendo ui - How to increase vertical offset of tooltip position? -


i'm using kendo tooltips on graphic (within anchor link) 24px tall. accordingly, when tooltip shows (default position of bottom), covers bottom third of graphic , bottom third of graphic can't clicked.

i can following:

.k-tooltip {     margin-top: 8px; } 

but problem if tooltip on graphic @ bottom of page, position "top" instead of "bottom" it'll covering 1/2 graphic instead of third because it's still being pushed down 8px.

what i'd if position bottom, margin-top 8px, if position top, the margin-bottom 8px.

thanks can provide!

billy mccafferty

would 1 you? http://dojo.telerik.com/amoze/5

var tooltip = $("#demo").kendotooltip({    filter: "a",    show: function (e) {      var position = e.sender.options.position;      if (position == "bottom") {        e.sender.popup.element.css("margin-top", "10px");      } else if(position == "top") {        e.sender.popup.element.css("margin-bottom", "10px");      }    }  }).data("kendotooltip");


Comments

Popular posts from this blog

php - regexp cyrillic filename not matches -

c# - OpenXML hanging while writing elements -

sql - Select Query has unexpected multiple records (MS Access) -