summaryrefslogtreecommitdiff
path: root/scripts/gant.js
diff options
context:
space:
mode:
authorOwen <despito@MacBook-Pro-de-Despito.local>2014-07-15 19:52:12 +0300
committerOwen <despito@MacBook-Pro-de-Despito.local>2014-07-15 19:52:12 +0300
commit5cb71985cfdcf65ad76c5c3d416011a042cbf787 (patch)
tree247b84893afe73cc94bec8a67858604bc2dc8695 /scripts/gant.js
parent335af0bbf19ef4e6454233c9b4d212ee5aaa9d0d (diff)
Added basic zoom feature
Diffstat (limited to 'scripts/gant.js')
-rw-r--r--scripts/gant.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/scripts/gant.js b/scripts/gant.js
index ae5b63aa..90bf7fdf 100644
--- a/scripts/gant.js
+++ b/scripts/gant.js
@@ -36,20 +36,6 @@ function checkSwitch(checkswitch) {
}
-window.onscroll = function (e) {
- var horizontal_position = 0;
- if (pageXOffset)//usual
- horizontal_position = pageXOffset;
- else if (document.documentElement.clientWidth)
- horizontal_position = document.documentElement.scrollLeft;
- else if (document.body)//ie quirks
- horizontal_position = document.body.scrollLeft;
-
- $('.debug').html(scrollValue);
-
- var your_div = $('#gantbox');
- $('#gantbox').scrollLeft((horizontal_position));
-}
$('#gantbox').scroll(function () {
scrollValue=$('#gantbox').scrollLeft();