aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default/template/include/resize.inc.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/template/include/resize.inc.tpl')
-rw-r--r--themes/default/template/include/resize.inc.tpl22
1 files changed, 22 insertions, 0 deletions
diff --git a/themes/default/template/include/resize.inc.tpl b/themes/default/template/include/resize.inc.tpl
new file mode 100644
index 000000000..30a637563
--- /dev/null
+++ b/themes/default/template/include/resize.inc.tpl
@@ -0,0 +1,22 @@
+{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"}
+{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"}
+{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.resizable.packed.js"}
+
+{* Resize possible *}
+{literal}
+<script type="text/javascript">
+ jQuery().ready(function(){
+ // Resize possible for list
+ jQuery(".categoryList").resizable({
+ handles: "all",
+ animate: true,
+ animateDuration: "slow",
+ animateEasing: "swing",
+ preventDefault: true,
+ preserveCursor: true,
+ autoHide: true,
+ ghost: true
+ });
+ });
+</script>
+{/literal}