SHARE
TWEET

Untitled

a guest Jan 20th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //////////<..... a lot more HTML ....>//////////
  2. <div class="bs-docs-example">
  3. <a href="#" class="btn btn-large btn-danger" rel="popover" title="A Title" id="testpop" data-content="And here's some amazing content. It's very engaging. right?">Click to toggle popover</a>
  4. </div>
  5. {% endblock %}
  6.  
  7.  
  8. {% block js %}
  9. {{ block.super }}
  10.  
  11. {% bootstrap_javascript_tag "modal" %}
  12. {% bootstrap_javascript_tag "alert" %}
  13. {% bootstrap_javascript_tag "tooltip" %}
  14. {% bootstrap_javascript_tag "popover" %}
  15.  
  16. <script type="text/javascript">
  17. $("#testpop").popover();
  18. </script>
  19.    
  20. $('a#testpop').on('click', function(e) {e.preventDefault(); return true;});
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top