ecole: restauration script initialisation popover
This commit is contained in:
parent
d94931eb95
commit
7a3369eb28
@ -154,4 +154,21 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% include "common_files/contact.html" with responsable="Nathalie ROHRBACH, Directrice" email="ecole@musique-meyenheim.fr" %}
|
{% include "common_files/contact.html" with responsable="Nathalie ROHRBACH, Directrice" email="ecole@musique-meyenheim.fr" %}
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
$(function () {
|
||||||
|
$('[data-toggle="popover"]').popover({trigger: "hover"})
|
||||||
|
})
|
||||||
|
|
||||||
|
appear({
|
||||||
|
elements: function elements(){
|
||||||
|
// work with all elements with the class "track"
|
||||||
|
return document.getElementsByClassName('track');
|
||||||
|
},
|
||||||
|
appear: function appear(el){
|
||||||
|
console.log('visible', el);
|
||||||
|
$(el).popover('show');
|
||||||
|
},
|
||||||
|
});
|
||||||
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user