aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/include/resize.inc.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/yoga/include/resize.inc.tpl')
-rw-r--r--template/yoga/include/resize.inc.tpl23
1 files changed, 23 insertions, 0 deletions
diff --git a/template/yoga/include/resize.inc.tpl b/template/yoga/include/resize.inc.tpl
new file mode 100644
index 000000000..9bd89325f
--- /dev/null
+++ b/template/yoga/include/resize.inc.tpl
@@ -0,0 +1,23 @@
+{* $Id$ *}
+{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"}
+{known_script id="jquery.ui" src=$ROOT_URL|@cat:"template-common/lib/ui/ui.core.packed.js"}
+{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"template-common/lib/ui/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}