From 6fcfb7c04d32e1c8b26a312295bf7ac3ec2d2ad7 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 13 Jul 2018 19:06:45 +0200 Subject: Fixed many permissions and began admin interface --- .../examples/dynamic-content.html | 81 ++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 public/bower_components/jquery-slimscroll/examples/dynamic-content.html (limited to 'public/bower_components/jquery-slimscroll/examples/dynamic-content.html') diff --git a/public/bower_components/jquery-slimscroll/examples/dynamic-content.html b/public/bower_components/jquery-slimscroll/examples/dynamic-content.html new file mode 100644 index 0000000..1ac5e56 --- /dev/null +++ b/public/bower_components/jquery-slimscroll/examples/dynamic-content.html @@ -0,0 +1,81 @@ + + + +jquery.slimscroll - dynamic content + + + + + + + + + +Fork me on GitHub +
+ + +
+
+ +
+  // update content every second
+  setInterval(function(){
+    var el = $('<div></div>').html('#' + $('#testDiv').children().length)
+            .css({ padding: '3px', border: '1px solid #ccc', margin: '5px' });
+    $('#testDiv').append(el);
+
+    // update slimscroll every time content changes
+    $('#testDiv').slimscroll();
+  }, 1000);
+
+  $('#testDiv').slimscroll({
+    alwaysVisible: true,
+    height: 150
+  });
+  
+ + + +
+ + + + + + + \ No newline at end of file -- cgit v1.2.3