baz_april/squelettes/content/boussole.html

19 lines
646 B
HTML
Raw Normal View History

2020-02-28 01:57:35 +01:00
<div class="page--container">
<span class="initiatives"><:baz_april:des_initiatives_april:></span>
<button type="button" class="btn-boussole"><:baz_april:site_april:></button>
<nav class="nav"><BOUCLE_csv(DATA){source csv, #CHEMIN{csv/boussole.csv}}>
<a href="#VALEUR{1}">#VALEUR{0}</a></BOUCLE_csv>
</nav>
</div>
<script type="text/javascript">
jQuery(function($){
// afficher/masquer la boussole < medium
$('.btn-boussole').on('click', function(){
$(this).toggleClass('actif').siblings('.nav').toggleClass('ouvert');
$('.principale .btn-nav').removeClass('actif').siblings('.nav-list').removeClass('ouvert');
});
});
</script>