aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/immae/history/assets
diff options
context:
space:
mode:
Diffstat (limited to 'modules/private/websites/immae/history/assets')
-rw-r--r--modules/private/websites/immae/history/assets/css/main.scss6
-rw-r--r--modules/private/websites/immae/history/assets/js/script.js17
2 files changed, 23 insertions, 0 deletions
diff --git a/modules/private/websites/immae/history/assets/css/main.scss b/modules/private/websites/immae/history/assets/css/main.scss
new file mode 100644
index 0000000..7df8776
--- /dev/null
+++ b/modules/private/websites/immae/history/assets/css/main.scss
@@ -0,0 +1,6 @@
1---
2sitemap: false
3---
4@import "variables";
5@import "syntex";
6@import "style"; \ No newline at end of file
diff --git a/modules/private/websites/immae/history/assets/js/script.js b/modules/private/websites/immae/history/assets/js/script.js
new file mode 100644
index 0000000..65115d3
--- /dev/null
+++ b/modules/private/websites/immae/history/assets/js/script.js
@@ -0,0 +1,17 @@
1$(function() {
2 var options = {
3 padding: 0,
4 nextSelector: 'a.next-page:last',
5 contentSelector: '.post_list',
6 autoTrigger: false,
7 debug: true
8 };
9
10 $('.post_list').jscroll(options);
11 $(document).on('click', '#expand-list', function(){
12 $('.post-content').hide();
13 });
14 $(document).on('click', '#collapse-list', function(){
15 $('.post-content').show();
16 });
17}); \ No newline at end of file