bootstrap tooltip auto placement in div with overflow-y

jquery, tooltip, twitter-bootstrap

Solution

Ok so no need to re-invent a thing :) just add a fixed position to the tooltip class...

.tooltip{
        position:fixed;
}

Problem

I have twitter-bootstrap tooltips on links within a div. The div has its overflow-y set to auto. My issue is that placement: 'auto top' is not respected relative to the div's top. If I scroll down the page (to put the div toward the top of the browser) the auto placement works. So in short I'm wondering if its possible to get the tooltip to react to the div top not the page top. Here is how I am initiating it... ``` $("#"+caller).tooltip({html:true,title:resultString,placement:'auto top'}); ```

Original source