Write a program to use pop overs in Bootstraps ?

 Posted by Vivek.Ramapuram on 6/9/2015 | Category: Bootstrap Interview questions | Views: 484 | Points: 40
Answer:

To use pop overs in Bootstrap, We have to write little JavaScript code to create Popovers for HTML elements.
Example :
Javascript :
<script type="text/javascript">

$(document).ready(function ()
{
$(".popover-pop a").popover()
});
</script>


Here is HTML Elements .
HTML :
<div> 

<ul class="popover-pop list-inline">
<li><a href="#" class="btn btn-primary" data-toggle="popover" title="DotNetFunda" data-content="Fundamentals of .Net">DotNetFunda</a></li>
</ul>
</div>


Run the combination code to get pop over link


Asked In: While Learning | Alert Moderator 

Comments or Responses

Login to post response