Configuring boot content

The boot pop-up stream expects this:

<a href="#" id="example" class="btn btn-danger"  rel="popover" data-content="It so simple to create a tooltop for my website!" data-original-title="Twitter Bootstrap Popover">hover for popover</a>  



.. expects you to define the data content in a template, or dynamically pass it to jquery.

In any case, it can support the format as shown below:

.. point capable of specifying content / title in blocks

<div id="example">
<div class="original-title">
Twitter Bootstrap Popover
<div class="data-content">
It so simple to create a tooltop for my website!
<a>hover for popover</a>




source to share

2 answers

Currently not, as the popover script basically extends the functionality of the popover script, but nothing is impossible. You can change the script and add a custom one data-attributes

to support your markup yourself, but then when updates come you will have to do it again if you want to maintain your changes or not update at all.



I think it is possible using javascript code to provide the content of these divs to elements, but not recommended.





All Articles