How do I use popover from Twitter Bootstrap to display an image?

后端 未结 5 1855
失恋的感觉
失恋的感觉 2020-12-22 17:45

The canonical example for Twitter Bootstrap\'s popover feature is sort of a tooltip on steroids with a title.

HTML:



        
5条回答
  •  盖世英雄少女心
    2020-12-22 18:03

    This is what I used.

    $('#foo').popover({
        placement : 'bottom',
        title : 'Title',
        content : '
    ' });

    and for the HTML

    text goes here
    

提交回复
热议问题