aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/include
diff options
context:
space:
mode:
Diffstat (limited to 'admin/template/goto/include')
-rw-r--r--admin/template/goto/include/dbselect.inc.tpl23
-rw-r--r--admin/template/goto/include/resize.inc.tpl23
2 files changed, 46 insertions, 0 deletions
diff --git a/admin/template/goto/include/dbselect.inc.tpl b/admin/template/goto/include/dbselect.inc.tpl
new file mode 100644
index 000000000..cab472460
--- /dev/null
+++ b/admin/template/goto/include/dbselect.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 double select list
+ jQuery(".doubleSelect select.categoryList").resizable({
+ handles: "w,e",
+ animate: true,
+ animateDuration: "slow",
+ animateEasing: "swing",
+ preventDefault: true,
+ preserveCursor: true,
+ autoHide: true,
+ ghost: true
+ });
+ });
+</script>
+{/literal}
diff --git a/admin/template/goto/include/resize.inc.tpl b/admin/template/goto/include/resize.inc.tpl
new file mode 100644
index 000000000..9bd89325f
--- /dev/null
+++ b/admin/template/goto/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}