48 lines
1.2 KiB
HTML
48 lines
1.2 KiB
HTML
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
|
|
<script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
|
|
<script src="{{ site.url }}/assets/js/scripts.min.js"></script>
|
|
<script src="{{ site.url }}/assets/js/navigation.js"></script>
|
|
|
|
<script>
|
|
|
|
$(".content-toggle").each(function(index) {
|
|
var that = $(this);
|
|
var children = that.children();
|
|
|
|
for (i = 0; i < children.length; i++) {
|
|
if (i != 0) {
|
|
$(children[i]).hide();
|
|
}
|
|
|
|
var nextId = i + 1;
|
|
if (i == children.length - 1) {
|
|
nextId = 0;
|
|
}
|
|
|
|
$(children[i]).attr('nextId', nextId);
|
|
|
|
$(children[i]).click(function(event)
|
|
{
|
|
content = $(this);
|
|
content.hide();
|
|
$(children[content.attr('nextId')]).show();
|
|
});
|
|
}
|
|
});
|
|
|
|
</script>
|
|
|
|
<script>
|
|
window.cookieconsent.initialise({
|
|
layout: 'basic',
|
|
palette:{
|
|
popup: { background: "#ffffff", text: "#636363" },
|
|
button: { background: "#2e3c85" },
|
|
},
|
|
content: { href: "{{ site.url }}/privacy-policy" },
|
|
law: { regionalLaw: false },
|
|
location: true,
|
|
});
|
|
</script>
|
|
|
|
{% if page.comments != false %}{% include disqus_comments.html %}{% endif %} |