aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/include/resize.inc.tpl
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2008-10-11 20:18:49 +0000
committerrub <rub@piwigo.org>2008-10-11 20:18:49 +0000
commit21fc6813022401aea633ca6e6990eab6da9929e6 (patch)
tree25342e61b8b8a8a88cfe12ae4402fc2131da25d8 /admin/template/goto/include/resize.inc.tpl
parenta06bada6e8425817ef4f2ed8faa97be3bc9b3c19 (diff)
jQuery Datepicker:
Readd resize for list of categories Use include for double select list git-svn-id: http://piwigo.org/svn/trunk@2718 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/template/goto/include/resize.inc.tpl')
-rw-r--r--admin/template/goto/include/resize.inc.tpl23
1 files changed, 23 insertions, 0 deletions
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}