summary refs log tree commit diff
path: root/docs/client-server/web/files/jquery.slideto.min.js
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-01 14:11:26 +0100
committerKegan Dougal <kegan@matrix.org>2014-09-01 14:11:26 +0100
commit389ee3624ce1c257fbbff20e620c9da39ea123a0 (patch)
tree60383f67c02287c2cb39663012e116cd66ac4e1c /docs/client-server/web/files/jquery.slideto.min.js
parentRenamed json files because: paths. (diff)
downloadsynapse-389ee3624ce1c257fbbff20e620c9da39ea123a0.tar.xz
Added /web folder which contains html/css (based off the default swagger-ui) for viewing the c-s json api.
Diffstat (limited to 'docs/client-server/web/files/jquery.slideto.min.js')
-rw-r--r--docs/client-server/web/files/jquery.slideto.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/client-server/web/files/jquery.slideto.min.js b/docs/client-server/web/files/jquery.slideto.min.js
new file mode 100644
index 0000000000..ba32cff365
--- /dev/null
+++ b/docs/client-server/web/files/jquery.slideto.min.js
@@ -0,0 +1 @@
+(function(b){b.fn.slideto=function(a){a=b.extend({slide_duration:"slow",highlight_duration:3E3,highlight:true,highlight_color:"#FFFF99"},a);return this.each(function(){obj=b(this);b("body").animate({scrollTop:obj.offset().top},a.slide_duration,function(){a.highlight&&b.ui.version&&obj.effect("highlight",{color:a.highlight_color},a.highlight_duration)})})}})(jQuery);