Write a program to show the Pop overs with Delay ?

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

In Bootstraps we can also set some delay to the popovers. For that, we have to use delay property of Bootstrap.We need to write the code combination of Javascript and HTML.

Example
Javascript :
<script type="text/javascript">

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

HTML element:
<div>

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


Asked In: While Learning | Alert Moderator 

Comments or Responses

Login to post response